.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	background-color: #db582e;
    border-color: #db582e;
}
.btn-primary.focus, .btn-primary:focus {
    color: #fff;
	background-color: #db582e;
    border-color: #db582e;
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5);
}
.pdp-page h1 a, .pdp-page h2 a, .pdp-page h3 a, .pdp-page h4 a, h.pdp-page h5 a, .pdp-page h6 a {	
	font-family: 'Opera', Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', 'sans-serif' !important;
}
#site-main h1 a, #site-main h2 a, #site-main h3 a, #site-main h4 a, h#site-main h5 a, #site-main h6 a {	
	font-family: 'Opera', Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', 'sans-serif' !important;
}
.modal-body .pdp-btn-video-text, .pdp-btn-video-link {
	display: none;
}
.modal-body .pdp-btn-video-link {
	display: block;
}
.btn {
	font-family: 'Akzidenz', Helvetica, Arial, "sans-serif";
	letter-spacing: 0.025rem;
	text-transform: uppercase;
	font-size: 1.1rem;
    font-weight: 500;
	padding: 1rem 1.75rem;
}
.btn-primary {
	border-color: #db582e;
	border: 1px solid #db582e;;
}
.btn-outline-primary {
	border-color: #db582e;
	color: #db582e;
	border: 1px solid;
} 
.btn-outline-primary:hover {
	background-color: #db582e;
	border-color: #db582e;
}
.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
	background-color: #db582e;
	border-color: #db582e;
}
.btn-outline-light {
	border-color: #fff;
	color: #fff;
	border: 1px solid;
} 
.btn-outline-light:hover {
	background-color: #db582e;
	border-color: #db582e;
	color: #fff;
}
.btn-outline-light:not(:disabled):not(.disabled).active, .btn-outline-light:not(:disabled):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {
	background-color: #db582e;
	border-color: #db582e;
	color: #fff;
}
.btn-bracket {
    background-color: #db582e;
    border-color: #db582e;
	color: #fff;
}

.btn-bracket:hover {
    background-color: #db582e;
    border-color: #db582e;
	color: #fff;
}
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
.pdp-highlight {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
}
.pdp-highlight li {
	padding: 15px 0;
	border-bottom: 1px solid #dee2e6;
	line-height: 1.5rem;
	vertical-align: baseline;
}
.pdp-highlight li:last-of-type {
	border-bottom: 0 none;
}
.pdp-highlight li a {
	text-decoration: underline;
}
.pdp-highlight li a:hover {
	text-decoration: none;
}
.pdp-highlight-title {
	text-transform: uppercase;
	color: #8d8d8d;
	font-size: 15px;
	font-weight: 500;
}
/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 33.3%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  filter: grayscale(1) brightness(0.5);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s linear;
}
.column img:hover {
  filter: grayscale(0);
}
.pre-display {
	font-family: 'Opera', Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', 'sans-serif';
	line-height: .9;
	margin-bottom: 0;
	font-size: 1.75rem;
	color: #db582e;
}
@media (min-width: 576px) {
    .pdp-display {
        padding: 7rem 2rem;
    }
}
.pdp-display {
	position: relative;
	margin-bottom: 30px;
}
.pdp-display * {
	position: relative;
	z-index: 999;
}
.pdp-display .lead {
	font-size: 1.25rem;
}
.pdp-display {
	
}
.pdp-header {
	max-width: 1920px;
	background-color: #6c757d;
}
.pdp-header.container-fluid {
	padding-left: 0;
	padding-right: 0;
}
.pdp-footer {
	margin-bottom: 0;
}
.display-1, .display-2, .display-3, .display-4 {
	line-height: 1.0;
}
.pdp-bg-contain {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	
}
.pdp-bg-contain:before {
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	z-index: 2;
	background: #00000080;
	background: linear-gradient(90deg, #00000090, #00000000);
}
.pdp-display-bg {
    -o-object-fit: cover !important;
    object-fit: cover !important;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.pdp-breadcrumb {
	color: #939393;
	margin-bottom: 50px;
}
.pdp-breadcrumb a {
	color: #db582e;
	text-decoration: underline;
}
.pdp-breadcrumb a:hover {
	text-decoration: none;
}
.pdp-page p {
	color: #444444;
}
h3.pdp-block-title {
	font-size: 3rem;
}
.pdp-section-title {
	border-top: 1px solid #dee2e6;
	font-size: 40px;
}
.pdp-section-title span {
	position: relative;
    display: inline-block;
    padding-top: 40px;
    padding-bottom: 0rem;
}
.pdp-section-title span:before {
	content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 4px;
    width: 100%;
}
.pdp-section-title span.teal:before {
	background-color: #00a289;
}
.pdp-section-title span.yellow:before {
	background-color: #ff930d;
}
.pdp-section-title span.green:before {
	background-color: #3a9e2c;
}
.pdp-section-title span.orange:before {
	background-color: #ca582e;
}
.pdp-section-title span.blue:before {
	background-color: #161f73;
}

/* PRODUCT DETAILS */
.pdp-details-col {
	margin-bottom: 50px
}
/* PDP TABS */
.pdp-tabs .nav-tabs .nav-item {
	margin: 0;
}
.pdp-tabs .nav-tabs .nav-link {
	color: #db582e;
}
.pdp-tabs .nav-tabs .nav-link:hover {
	color: #828282;
}
.pdp-tabs .nav-tabs .nav-link.active {
	color: #444444;
}
.pdp-tabs .nav-tabs .nav-item.show .nav-link, .pdp-tabs .nav-tabs .nav-link.active {
	border-top: 1px solid #dee2e6;	
	border-right: 1px solid #dee2e6;	
	border-left: 1px solid #dee2e6;
	background: #fff;
	margin-bottom: -1px;
}
.pdp-tabs .nav-tabs .nav-item.show .nav-link {
	border-top: 1px solid #ffffff;	
	border-right: 1px solid #ffffff;	
	border-left: 1px solid #ffffff;
}
.pdp-tabs .nav-tabs .nav-link {
	font-family: 'Akzidenz', Helvetica, Arial, "sans-serif";
	letter-spacing: 0.025rem;
	text-transform: uppercase;
	font-size: 1.1rem;
    font-weight: 500;
	padding: 1rem 1.75rem;
}
.pdp-tabs .tab-content {
	padding: 40px 0 0 0;
}
.pdp-card .card-title a:hover {
	text-decoration: underline;
}
.pdp-tabs .pdp-card .card-img-top {
    object-fit: cover;
    width: 100%;
    height: auto;
    vertical-align: middle;
	display: block;
	aspect-ratio: 3/4;
}
.pdp-tabs .tab-pane ul,
.pdp-tabs .tab-pane ol {
  /* user-agent styles */
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}
.pdp-tabs .tab-pane ol {
  list-style-type: decimal;
}
.pdp-tabs .tab-pane li {
  display: list-item;
  text-align: match-parent;
}
.pdp-tabs .tab-pane ::marker {
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
}
.pdp-image {
	aspect-ratio: 4/3;
	object-fit: cover;
}
/* CARD */
.pdp-card-horizontal {
	height: auto !important;
	position: relative;
}
.pdp-card-horizontal img {
	margin-bottom: 20px;
}
.pdp-card:before {
	background-color: #c9cad4;
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	transition: all .4s ease-in-out;
}
.pdp-card:hover:before {
	background-color: #ca582e;
	height: 4px;
}
.pdp-card {
	height: 100%;
}
.pdp-card .card-body {
	padding-left: 0;
	padding-right: 0;
}
.pdp-card .card-img-top {
    object-fit: cover;
    width: 100%;
    vertical-align: middle;
	display: block;
	aspect-ratio: 4/3;
	transition: all .5s ease-in-out;
}
.pdp-card .card-img-top:hover {
	box-shadow: .05rem .08rem .5rem .1rem rgba(0,0,0,.25);
}
.pdp-section {
	margin-bottom: 100px;
}
#imgModal iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}
/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for the layout */
    grid-gap: 10px;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.span-2-columns-1-row {
    grid-column: span 2;
    aspect-ratio: 2 / 1; /* 2 columns wide, 1 row tall */
}

.span-1-column-2-rows {
    grid-column: span 1;
    grid-row: span 2;
    aspect-ratio: 1 / 2; /* 1 column wide, 2 rows tall */
}

.span-1-column-1-row {
    grid-column: span 1;
    aspect-ratio: 1 / 1; /* 1 column wide, 1 row tall */
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hidden {
    display: none;
}

.modal-body img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }

    .span-2-columns-1-row,
    .span-1-column-1-row,
    .span-1-column-2-rows {
        grid-column: span 1; /* Ensure all items span 1 column */
        grid-row: span 1; /* Ensure all items span 1 row */
        aspect-ratio: 1 / 1; /* Uniform aspect ratio */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
    }

    .span-2-columns-1-row,
    .span-1-column-1-row,
    .span-1-column-2-rows {
        grid-column: span 1; /* Ensure all items span 1 column */
        grid-row: span 1; /* Ensure all items span 1 row */
        aspect-ratio: 1 / 1; /* Uniform aspect ratio */
    }
}

/* Spinner Styles */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid #ddd;
    border-top-color: rgba(219,88,46,1);
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Fade-in Animation */
.article-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
}


#active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.active-filter {
    margin-right: 8px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
    cursor: pointer;
}

.active-filter .ml-1 {
    color: #dc3545;
}

#spinner-container {
    height: 50px;
}




/* === Product Index Filter Pills === */
#active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#active-filters .filter-pill {
  display: inline-flex;
  align-items: center;
  background-color: #db582e;
  color: #fff;
  border-radius: 3px;
  font-size: 0.7rem; /* smaller than Resource Center */
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#active-filters .filter-pill:hover {
  background-color: #c94c23;
}

#active-filters .filter-pill .remove {
  margin-left: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
}

#active-filters .filter-pill.bg-secondary {
  background-color: #6c757d;
}

/* Soft fade/slide for product cards */
.card-fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.card-fade.in {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card-fade { transition: none; transform: none; }
}
