/* For product filter */
.option-header {
    margin-bottom: 1rem;
    color: rgba(29, 116, 164, 1);
    font-family: "Open Sans", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    font-weight: 600;
    padding-right: 25px;

}

.product-display {
    display: flexbox;
}

.industries {
    display: none;
    /* Hide the div by default */
}


/* for product gallery */


.product-container {
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 1rem;
}


/* clear fix */
.product-container::after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer {
    width: 30%;
}

.gutter-sizer {
    width: 4%;
}


.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.product-card {
    background: #ffffff; /* Life Boxes soft background */
    border-radius: 16px; /* match Life Boxes rounded corners */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* gentle shadow like Life Boxes */
    overflow: hidden;
    position: relative;
    float: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 6px solid #fdb72e; /* golden accent at top */
    
    transform-style: preserve-3d;
    width: 30%;
}

@media (max-width: 600px) {
    .product-card {
        width: 100%;
    }


}


.product-card:hover {
        border-top-color: #bc8e05; /* darker gold on hover */
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Golden “before” hover shimmer */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(250,166,26,0.3),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}



.product-card:hover::before {
    left: 100%;
}



.product-image {
    height: 150px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.product-image img {
    max-width: 98%;
    max-height: 98%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.product-card:hover .product-image img {
    transform: scale(1.1) translateY(-5px);
}

.glow-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--neon-purple), transparent 70%);
    opacity: 0;
    mix-blend-mode: soft-light;
    transition: opacity 0.5s ease;
}

.product-card:hover .glow-overlay {
    opacity: 0.6;
}

.product-details {
    padding: 0.5rem;
    position: relative;
    z-index: 2;
}



/* Product Name */
.product-card .product-name {
    color: #084298; /* primary dark blue */
}

.product-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: width 0.3s ease;
}

.product-card:hover .product-name::after {
    width: 100%;
}



/* Product Category */
.product-card .product-category {
    color: #fdb72e; /* golden accent */
}


/* Product Description */
.product-card .product-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    line-height: 1.4;
    color: #444; /* neutral grey */
}

.specs-container {
    background-color: #ffffff; /* clean card-like background */
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.specs-title {
    font-size: 0.9rem;
    color: #084298; /* deep blue */
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.specs-title img {
    margin-right: 0.5rem;
    width: 24px;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    font-size: 0.85rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: #666; /* neutral gray */
}

.spec-value {
    color: #2c7daa; /* teal-blue accent */
    font-weight: 600;
    margin-top: 2px;

}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c7daa; /* deep blue */
    margin: 1rem 0;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
}

.product-container .btn {
    font-family: 'Orbitron', sans-serif;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.product-card .btn-primary {
    background: #fdb72e; /* golden accent */
    color: #ffffff; /* dark text */
    border: none;
}

.product-card .btn-primary:hover {
    background: #bc8e05; /* darker gold hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 250, 250, 0.5), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.product-card .btn-secondary {
    background: transparent;
    color: #fdb72e;
    border: 1px solid #fdb72e;
}

.product-card .btn-secondary:hover {
    background-color: rgba(250,166,26,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card .btn-icon {
    border: 1px solid #fdb72e;
    color: #fdb72e;
}

.product-card .btn-icon:hover {
    background-color: rgba(250,166,26,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stock-tag {
    position: absolute;
        color: #084298;

    top: 15px;
    right: 15px;
    background: #f8e487; /* soft golden */
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    border-left: 3px solid #fdb72e;
}

.in-stock {
    color: #1769ff;
}

.limited {
    color: #ffcc00;
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .product-details {
        padding: 1rem;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .specs-list {
        grid-template-columns: 1fr;
    }
}


/* Animations */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.rating {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.stars {
    display: flex;
    margin-right: 0.5rem;
}

.star {
    color: #ffcc00;
    font-size: 0.9rem;
    margin-right: 2px;
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(253, 183, 46, 0.15); /* soft golden bg */
    color: #bc8e05; /* darker gold text */
    border: 1px solid rgba(253, 183, 46, 0.4);
}

.badge.new {
    background: rgba(168, 221, 250, 0.4); /* soft aqua */
    color: #2c7daa; /* teal-blue text */
    border: 1px solid rgba(168, 221, 250, 0.6);
}

.badge.bestseller {
    border: 1px solid rgba(168, 221, 250, 0.6);
    color: #fdb72e; 
    border: 1px solid rgba(250, 166, 26, 0.5);
}

.badges-container {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Cybernetic decoration elements */
.cyber-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #fdb72e, transparent);
    height: 1px;
    width: 100%;
    left: 0;
    opacity: 0.3;
}

.cyber-line.top {
    top: 0;
}

.cyber-line.bottom {
    bottom: 0;
}

.cyber-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #fdb72e; /* golden corners instead of neon */
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}


.product-details .tabs {
  display: flex;
    position: relative;

  flex-direction: column;
  width: 98%;
  margin-top: 10px;
  background: #ffffff; /* card-like base */
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* gentle depth */
  border: 1px solid #eee;
  overflow: hidden; /* keeps children inside rounded corners */
  border-top: 6px solid #fdb72e; /* golden accent */
}

/* CTA button attached below tab container */
.product-details-cta {
  display: block;
  text-align: center;
  width: 98%;
  margin-top: -1px; /* overlaps card border so it looks attached */
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 14px 14px; /* matches card corners */
  background: #fdb72e;   /* golden accent */
  color: #fff;        /* deep blue text */
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.product-details-cta:hover {
  background: #bc8e05;   /* darker gold on hover */
  color: #fff;
}

.tab-buttons {
  display: flex;
  margin-bottom: 10px;
}

.tab-buttons .tab {
  flex: 1;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 2px solid #eee;
  transition: 0.2s;
}

.tab-buttons .tab:hover {
    color: #2c7daa; /* softer blue on hover */
}

.tab-buttons .tab.active {
  font-weight: bold;
    color: #084298;
    border-color: #fdb72e;
}

/* Tab content */
.tab-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: height 0.3s ease; /* smooth height change */
}

/* Pane hiding */
.tab-pane {
  position: absolute;       /* stack panes on top of each other */
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.tab-pane.active {
  opacity: 1;
  visibility: visible;
  position: relative;       /* active pane stays in flow */
}


/* =========================================
   Tab content clamping (consistent fixed height)
   ========================================= */

/* Clamp badges to 4 lines */
.tab-pane .badges-container {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Clamp text to 5 lines */
.tab-pane p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* checkbox button styling */
ul.ks-cboxtags {
    list-style: none;
    padding: 20px;
}

ul.ks-cboxtags li {
    display: inline;
}

ul.ks-cboxtags li label {
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid #084298;
    color: #bc8e05;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}

ul.ks-cboxtags li label {
    padding: 8px 12px;
    cursor: pointer;
}

ul.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked+label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li .factory::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f077";
    transform: rotate(-180deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked+.factory::before {
    content: "\f077";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked+label {
    border: 2px solid #1bdbf8;
    background-color: #ffffff;
    color: #bc8e05;
    transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
    display: absolute;
}

ul.ks-cboxtags li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

ul.ks-cboxtags li input[type="checkbox"]:focus+label {
    border: 2px solid #faa619;
}


