.storix-configurator { display:flex; gap:0px; align-items:flex-start;background: #fff;}
.storix-steps { flex:1; background:#fff; padding: 50px 40px; border:none; border-radius:0px; }
.storix-preview {width: 50%;background:#fff; border: none;border-radius:0px;padding: 40px 70px;border-right: 1px solid #F2F2F3;}
.storix-row { width: 100%;display:flex; gap:12px; margin-bottom:10px; flex-wrap:wrap; border: none;}
.storix-row label { display:flex; flex-direction:column; font-size:13px; }
.storix-select, .storix-row input[type="number"], .storix-row input[type="text"] { padding:6px; border:1px solid #ddd; border-radius:4px; min-width:140px; }
.storix-controls { margin-top: 40px; }
.storix-controls button { padding:8px 12px; border:0; background:#0073aa; color:#fff; border-radius:4px; cursor:pointer; }
.storix-articles ul { padding-left:18px; }
.storix-price {margin-top:10px;font-size: 22px;font-weight: 500;color: #232323;font-family: "Jost", Sans-serif;}
.storix-level { border:1px dashed #eee; padding:8px; margin-bottom:8px; border-radius:4px; }


/* Preview layout */
#storix-preview { text-align:center; position: sticky;top: 80px;}
#storix-preview-image-wrap { min-height: 160px; }
#storix-preview-img { max-width:320px; display:block; margin:0 auto 8px; }
#storix-preview-loading { font-size:14px; color:#444; margin-bottom:8px; }
.storix-preview h4 {font-size: 20px;font-weight: 400 !important;color: #232323;font-family: "Futura", Sans-serif;}

/* Step2 beam stack (previously overlapping images above frame) - updated to stack vertically */
.storix-beam-stack {
    width:100%;
    margin-bottom:8px;
    position:relative;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px; /* spacing between beam images — prevents overlap */
}
.storix-beam-stack img.storix-beam-img {
    display:block;
    /*width:70%;*/
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    border-radius:4px;
    position:relative;
    z-index:1;
}
.storix-beam-stack img.storix-beam-img:first-child { margin-top:0; }

/* Assembly preview blocks */
.storix-preview-assembly { text-align:left; margin-top:8px; }
.storix-preview-block { margin-bottom:12px; padding:6px 0; border-bottom:1px solid #f0f0f0; }
.storix-preview-frame .storix-preview-line { font-size:14px; }
.storix-preview-beam img.storix-preview-beam-img { max-width:220px; display:block; margin:6px 0; }
.storix-preview-line { font-size:13px; color:#333; margin-top:4px; }

/* final total styling */
.storix-preview-grand { margin-top:8px; font-weight:700; font-size:15px; color:#111; }

/* hide duplicate total under step panel */
/*#storix-total-price { display:none !important; }*/

/* Custom CSS by YAKUB */
.storix-row {
    gap: 30px;
}
.storix-beam-row {
    display: flex;
	gap: 30px;
}
.storix-configurator .storix-row label, .storix-configurator .storix-beam-row label {
    font-size: 0px;
    padding-top: 10px;
    margin-bottom: 0px;
    width: 48%;
    position: relative;
}
.storix-configurator .storix-row.storix-row-1 label {
    width: fit-content;
}
.storix-configurator .storix-row label .storix-select, .storix-configurator .storix-beam-row label .storix-select {
    border: none;
    border-bottom: 1px solid #232324;
    border-radius: 0px;
    padding: 0px;
    padding-bottom: 6px;
	font-size: 20px;
    font-family: "Futura", Sans-serif;
	-webkit-appearance: none; /* Safari / iOS */
    -moz-appearance: none; /* Firefox */
    appearance: none;
}
.storix-configurator .select-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}
.storix-configurator .select-wrapper::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 10px;
    width: 18px;
    height: 18px;
    pointer-events: none;
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/12/dropdown-arrow.svg) left top no-repeat;
    background-size: contain;
}
.storix-configurator .storix-row label .storix-select option, .storix-configurator .storix-beam-row label .storix-select option {
    font-size: 16px;
    color: #232324;
}
.storix-controls button.storix-next, .storix-controls button.storix-back {
    padding: 5px 20px;
    background-color: #eb1f26;
    color: #fff;
}
.storix-configurator .storix-row label.conf-height, .storix-configurator .storix-row label.conf-depth, .storix-configurator .storix-row label.conf-levels, .storix-configurator .storix-section label.conf-length {
	padding-top: 30px !important;
}
.storix-configurator .storix-row .conf-color {
	font-family: "Futura", Sans-serif;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #222 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}
.storix-color-radio span {
    font-size: 18px;
    color: #232324;
	font-family: "Futura", Sans-serif;
}
.storix-configurator .storix-row label.conf-color .storix-color-radio {
	width: 100%;
    padding-left: 0px;
}
.storix-configurator .storix-row label.conf-color .storix-color-radio label.storix-color-radio {
    display: flex;
    flex-direction: row;
}
.storix-configurator .storix-row label.conf-height:before, .storix-configurator .storix-row label.conf-depth:before, .storix-configurator .storix-row label.conf-levels:before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0px;
    width: 24px;
    height: 24px;
}
.storix-configurator .storix-section label.conf-length:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0px;
    width: 24px;
    height: 24px;
}
.storix-configurator .storix-row label.conf-height:before {
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/10/Rack-height-1.svg) left top no-repeat;
    background-size: contain;
}
.storix-configurator .storix-row label.conf-depth:before {
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/10/RackDepth-1.svg) left top no-repeat;
    background-size: contain;
}
.storix-configurator .storix-section label.conf-length:before {
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/10/RackLength-1.svg) left top no-repeat;
    background-size: contain;
}
.storix-configurator .storix-row label.conf-levels:before {
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/10/Levels-1.svg) left top no-repeat;
    background-size: contain;
}
.storix-row label.storix-color-radio {
	flex-direction: row !important;
}
.storix-steps h2 {font-family: inherit;font-weight: 400;font-size: 40px;margin-bottom: 0px;text-align: center;}
.storix-steps h3 {margin-bottom: 1rem !important;}
.storix-select:focus, #storix-no-levels {outline: none;}
#storix-no-levels {border: none;border-bottom: 1px solid #232324;border-radius: 0px;padding: 0px;padding-bottom: 6px;}

#storix-levels-container .storix-level {
    border: none;
    padding: 0px;
    margin: 0px;
    width: 48%;
}
#storix-levels-container .storix-level h5 {
	margin-top: 0px !important;
}
#storix-levels-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
	margin-top: 20px !important;
}
#storix-levels-container label select {
    border: none;
    border-bottom: 1px solid #232324;
    border-radius: 0px;
    padding: 0px;
    padding-bottom: 6px;
	padding-top: 5px;
	font-size: 20px;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.storix-configurator .load-level .storix-level label {
	width: 100%;
	font-family: "Futura", Sans-serif;
    font-size: 17px;
    font-weight: 400;
}
.storix-row-1 label {
    display: flex;
    flex-direction: row;
    font-size: 13px;
    row-gap: 15px;
    column-gap: 15px;
	font-family: "Futura", Sans-serif;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #222 !important;
}
.storix-controls button#storix-add-to-cart {
	background: linear-gradient(93.79deg, #EB262A 0%, #EB262A 100.08%);
    border: 1px solid #eb1f26;
    padding: 10px 40px;
    color: #fff;
    transition: 0.5s all ease-in-out;
    font-family: "Futura", Sans-serif;
    font-size: 20px;
    font-weight: 400;
}
.storix-controls button#storix-add-to-cart:hover {
	background: linear-gradient(93.79deg, #EB262A 0%, #B12225 100.08%);
    border: 1px solid #EB262A;
    padding: 10px 40px;
    color: #ffffff;
    transition: 0.5s all ease-in-out;
}
.storix-row.storix-row-level label {
    padding: 0px;
}
.storix-row.storix-row-level label:before {
    content: none;
}

.storix-steps h2 {
	font-family: "Futura", Sans-serif;
    color: #222;
    font-size: 36px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}
.storix-steps h3 {
	font-family: "Futura", Sans-serif;
    font-size: 24px !important;
    font-weight: 600 !important;
    text-transform: capitalize;
}
/* .storix-step label, .storix-step label input, .storix-step label select {
    font-family: "Inter", Sans-serif;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #222 !important;
} */
.storix-section label.conf-color {
    font-size: 20px;
    font-weight: 400 !important;
    color: #222222;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
	font-family: "Futura", Sans-serif;
}
.storix-section label.conf-color .storix-color-radio, .storix-section label.conf-color .storix-frame-color-options {
    width: fit-content;
}
.storix-section label.conf-color .storix-frame-color-options {
    gap: 30px;
}
.storix-steps hr {
    border: 1px dotted #8b8b8b;
}
.storix-row-1 label input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: 3px;
    left: 5px;
    position: relative;
    background-color: #ed2027;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid #ed2027;
}
.storix-row-1 label input {
    width: 25px;
    height: 25px;
}
.storix-row-1 {
    gap: 60px;
}

/* ensure preview text sits nicely below beam stack */
#storix-article-list {
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

/* Quantity input adjustments (Step 3) — spinner visible but typing prevented via JS */
#storix-bay-quantity {
    width: 72px;
    text-align: center;
}

/* Keep default webkit spin-buttons visible */
#storix-bay-quantity::-webkit-outer-spin-button,
#storix-bay-quantity::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button;
}

/* small responsive tweak */
@media (max-width: 800px){
    .storix-configurator { flex-direction:column; }
    .storix-preview { width:100%; }
}

.storix-section {
    padding-bottom: 20px;
    padding-top: 20px;
}

.storix-preview-block {
    display: none;
}

/* Hide original select visually but keep it accessible for scripts & forms */
.storix-hidden-select {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

/* Radio wrapper styles for frame & beam color groups */
.storix-color-radio,
.storix-frame-color-options,
.storix-beam-color-options {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 6px;
    flex-direction: row;
}
.storix-frame-color-options {
	margin-top: 10px;
}
/* Each radio label */
.storix-color-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #232324;
}
.storix-configurator label.conf-color .storix-beam-color-options {
    width: 100%;
    padding-left: 0px;
	gap: 30px;
}
.storix-configurator label.conf-color .storix-color-radio {
    margin: 0px;
	width: fit-content !important;
}
/* hide native radio visual if you want custom swatches — we keep simple here */
.storix-color-radio input[type="radio"] {
    margin: 0;
    padding: 0;
    width: 16px;
    height: 16px;
    accent-color: #eb1f26;
}

/* label text */
.storix-color-label {
    display: inline-block;
}


/* === Fix hidden or invisible color labels === */

.storix-color-radio {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.storix-color-radio input[type="radio"] {
  flex-shrink: 0;
}

/* Ensure labels are visible text */
.storix-color-label {
  display: inline-block;
  color: #222 !important; /* adjust if your background is dark */
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.storix-color-radio .storix-color-label {
  font-weight: 500;
}
/* optional hover feedback */
/* .storix-color-radio:hover .storix-color-label {
  color: #eb1f26 !important;
} */


/* === Custom colored radio buttons for frame & beam colors === */

.storix-color-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    position: relative;
    margin-right: 6px;
    transition: all 0.2s ease-in-out;
}

/* color-specific styling */
.storix-color-radio input[type="radio"][value*="dark-grey"],
.storix-color-radio input[type="radio"][value*="Dark Grey"] {
    background-color: #383E42;
}

.storix-color-radio input[type="radio"][value*="blue"],
.storix-color-radio input[type="radio"][value*="Blue"] {
    background-color: #176DB5;
}

.storix-color-radio input[type="radio"][value*="orange"],
.storix-color-radio input[type="radio"][value*="Orange"] {
    background-color: #F77C34;
}

.storix-color-radio input[type="radio"][value*="red"],
.storix-color-radio input[type="radio"][value*="Red"] {
    background-color: #C6031A;
}

/* highlight when selected */
.storix-color-radio input[type="radio"]:checked {
	/* border: 2px solid #000; */
	/* box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; */
}
.storix-step.storix-step-5 label {
	font-size: 20px;
    font-weight: 400;
    color: #232323;
    font-family: "Futura", Sans-serif;
}
/* optional: smaller dot or white outline to indicate active */
.storix-color-radio input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: url(https://jaystorix.dowmedia.in/wp-content/uploads/2025/12/checked-tick-1.svg) no-repeat center;
    background-size: cover;
}

.storix-preview-grand {
    display: none;
}
/* === Fullscreen Loading Overlay for Configurator === */
#storix-preview-loading {
    display: none; /* hidden by default */
    position: fixed; /* cover entire screen */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8); /* translucent white overlay */
    z-index: 9999; /* above everything */
    display: flex; /* ✅ key to center contents */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    backdrop-filter: blur(2px); /* subtle blur for nice effect */
}

/* Spinner (CSS-based, red brand color) */
.storix-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #eb1f26;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: storix-spin 1s linear infinite;
}

@keyframes storix-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Quantity Increment/Decrement UI === */
.storix-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #eb1f27;
    border-radius: 6px;
    overflow: hidden;
}

/*.storix-qty-btn {*/
/*    width: 36px;*/
/*    height: 36px;*/
/*    background: #eb1f26;*/
/*    color: #fff;*/
/*    border: none;*/
/*    font-size: 20px;*/
/*    line-height: 1;*/
/*    cursor: pointer;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/* .storix-qty-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #eb1f26 !important;
    background: #fff;
    color: #eb1f26 !important;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.storix-qty-btn:hover {
    background: #c81c21;
} */

.storix-qty-wrapper input#storix-bay-quantity {
    width: 64px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 16px;
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}
.storix-qty-wrapper button.storix-qty-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #eb1f26;
    background: #fff;
    color: #eb1f26;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.storix-qty-wrapper button.storix-qty-btn.storix-qty-minus {
    border-right: 1px solid #eb1f27;
    border-top: 0px;
    border-bottom: 0px;
    border-left: 0px;
    border-radius: 6px 0 0 6px;
    color: #222;
	padding: .5rem 1rem;
}
.storix-qty-wrapper button.storix-qty-btn.storix-qty-plus {
    border-left: 1px solid #eb1f27;
    border-top: 0px;
    border-bottom: 0px;
    border-right: 0px;
    border-radius: 0 5px 5px 0;
    background: #fff;
    color: #222;
}
.storix-qty-wrapper button.storix-qty-btn.storix-qty-minus:hover, .storix-qty-wrapper button.storix-qty-btn.storix-qty-minus:focus, .storix-qty-wrapper button.storix-qty-btn.storix-qty-plus:hover, .storix-qty-wrapper button.storix-qty-btn.storix-qty-plus:focus {
    background: #eb1f27;
    color: #fff;
}

.storix-configurator .storix-row .storix-color-group {
	width: max-content;
}
.storix-configurator .storix-row .storix-color-group label {
	flex-direction: row;
    width: fit-content;
    font-family: "Futura", Sans-serif;
    font-size: 20px !important;
    font-weight: 400 !important;
}

/* Image Gallery */
/* ======================
   UNIRACK IMAGE GALLERY
   ====================== */

.uc-gallery {
    width: 100%;
}

.uc-gallery-main {
    width: 100%;
/*     height: 380px; */
    overflow: hidden;
/*     border-radius: 10px; */
    position: relative;
}

.uc-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

/* Zoom on hover */
/* .uc-gallery-main:hover img {
    transform: scale(1.2);
} */

/* Thumbnails row */
.uc-gallery {
    display: flex;
    gap: 30px;
}
.uc-gallery .uc-thumbs-column {
    width: 15%;
	margin-top: 0px;
}
.uc-thumbs-column {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.uc-thumbs-vertical {
    min-height: max-content;
    max-height: max-content;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.uc-thumb {
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
}
.uc-thumb.active {
    outline: 2px solid #eb1f26;
}
.uc-thumb-arrow {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    margin: 5px 0;
    font-size: 14px;
}
.uc-gallery-main img {
    transition: transform 0.3s ease;
}
button.uc-thumb-arrow {
    background-color: #f6b60b00 !important;
    border: none;
    padding: 0px !important;
}
button.uc-thumb-arrow:hover {
	background-color: #f6b60b00 !important;
}
button.uc-thumb-arrow img {
    width: 30px;
}
#storix-totals-wrapper {
    font-size: 20px;
    font-weight: 400;
    color: #232323;
    font-family: "Futura", Sans-serif;
}




/*  */
@media (max-width: 1440px) {
	#storix-levels-container .storix-level, .storix-configurator .storix-row label, .storix-configurator .storix-beam-row label {
		width: 46%;
	}
	.storix-preview {
		padding: 40px 40px;
	}
	/* 	.uc-thumbs-vertical {
    	min-height: 485px;
    	max-height: 485px;
	} */
}
/* @media (max-width: 1368px) {
	.uc-thumbs-vertical {
    	min-height: 460px;
    	max-height: 460px;
	}
}
@media (max-width: 1280px) {
	.uc-thumbs-vertical {
    	min-height: 425px;
    	max-height: 425px;
	}
} */

/* media queries 1024px*/
@media (max-width: 1024px){
    .storix-steps h2 {
        font-size: 26px !important;
    }
	.storix-color-options {
		gap: 24px;
	}
	.storix-configurator .storix-row label.conf-color .storix-color-options label.storix-color-radio {
		padding-right: 0px;
	}
	.storix-color-radio input[type="radio"][name="storix-frame-color-radio"] {
		margin-right: 0px;
	}
	.storix-section label.conf-color .storix-color-options label.storix-color-radio {
		padding-right: 0px;
	}
	/* 	.uc-thumbs-vertical {
		min-height: 320px;
    	max-height: 320px;
	} */
}

/* media queries 767px*/
@media (max-width: 767px){
	 .storix-steps h2 {
        font-size: 26px !important;
    }
}
@media (max-width: 768px){
	#storix-preview {
		position: static !important;
	}
/* 	.uc-thumbs-vertical {
        min-height: 480px;
        max-height: 480px;
    } */
}
@media (max-width: 425px) {
	.uc-thumbs-vertical {
        min-height: 200px;
        max-height: 200px;
    }
	#storix-levels-container .storix-level, .storix-configurator .storix-row label, .storix-configurator .storix-beam-row label {
        width: 100%;
    }
	.storix-beam-row {
		flex-direction: column;
	}
	.uc-gallery .uc-thumbs-column {
		width: 25%;
	}
}
