#actions {
  margin: .75em 0;
}

/* Mimic table appearance */
div.table {
  display: table;
  margin-bottom: 0;
}

div.table .file-row {
  display: table-row;
}

div.table .file-row > div {
  display: table-cell;
  vertical-align: top;
  border-top: 1px solid #ddd;
  padding: 8px;
}

div.table .file-row:nth-child(odd) {
  background: #f9f9f9;
}

/* The total progress gets shown by event listeners */
#progress {
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}

/* Hide the progress bar when finished */
#previews .file-row .dz-success .progress {
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}

/* Hide the delete button initially */
#previews .file-row .delete {
  display: none;
}

/* Hide the start and cancel buttons and show the delete button */
#previews .file-row.dz-success .start,
#previews .file-row.dz-success .cancel {
  display: none;
}

#previews .file-row.dz-success .delete {
  display: block;
}

.preview>img {
	object-fit: contain;
	max-height: 40vh;
}

#action-bar>p {
	margin: 0;
}

.image-wrapper>p {
	margin: 0;
}

#html-spinner{
  width:40px;
  height:40px;
  border:4px solid #fcd779;
  border-top:4px solid white;
  border-radius:50%;
}

#html-spinner, #svg-spinner{
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 1.2s;
  -webkit-animation-name: rotate;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  
  -moz-transition-property: -moz-transform;
  -moz-animation-name: rotate; 
  -moz-animation-duration: 1.2s; 
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  
  transition-property: transform;
  animation-name: rotate; 
  animation-duration: 1.2s; 
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

/* spinner positioning */

#html-spinner, #svg-spinner{
  position:absolute;
  top:80px;
  margin-left:-24px;
}

#html-spinner{
  left:25%; 
}

/* Spinner 3 */
.gs-spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border-radius: 50%;
  border-top: 2px solid #3498db;
  border-right: 2px solid transparent;
  animation: spinner 0.7s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Applies 100% width to ALL <img> elements that DO NOT have the class "natural-size" */
img:not(.natural-size) {
  width: 100%;
  display: block;
}

.card-hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.0), 0 1px 2px rgba(0,0,0,0.0);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  cursor: pointer !important;
}

.card-hover:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

[data-check="card"]  input:checked + label {
	-moz-box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8), -3px -3px 0px rgba(0, 0, 0, 0.8) !important; 
  	-webkit-box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8), -3px -3px 0px rgba(0, 0, 0, 0.8) !important; 
  	box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8), -3px -3px 0px rgba(0, 0, 0, 0.8) !important; 

}
[data-check="card"]  input + label {cursor: pointer !important;}

.gs__GalleryModal:before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0.70;
    position: fixed;
    background: #43577d;
}

.card_Hover:hover {
    background-color: #ffd100;
    color: #000;
}
.card_Hover {
    background-color: #000;
    color: #ffd100;  
}
.feather-24 {
	width: 24px;
	height: 24px;
}

[data-button="gs-mobile"] label { margin:0; }
[data-button="gs-mobile"] button { 
  overflow: visible; margin:0;   
  -webkit-appearance: none; 
  box-shadow:none; 
  background: transparent; 
  background-image: none; 
  vertical-align: middle;
  border: 0; padding: 0; border-radius: 0;
  line-height: 1em; 
  color: inherit; font-family: inherit; 
  display:block;
  cursor:pointer; 
}

[data-button="gs-mobile"] .btn { 
  display:inline-block;
  padding:8px 16px; 
  background-color:transparent;
  border-radius:5px;
  border:1px solid transparent;
}
[data-button="gs-mobile"] .btn-primary {
  color:#FFD100;
  background-color:#000;
}
[data-button="gs-mobile"] .btn-secondary { 
  color:#000;
  border-color:#aaa;
  background: #FFD100; }

[data-button="gs-mobile"] .btn-group { 
  display:table; width:100%;
  border-collapse:collapse;
  border-spacing:0;
}
[data-button="gs-mobile"] .btn-group > label {
  display:table-cell; 
  padding:0;
  border:none; border-radius:0;
  border-right:1px solid rgba(0,0,0,.08);
}
[data-button="gs-mobile"] .btn-group > label:first-child {
  border-radius: 5px 0 0 5px;
}
[data-button="gs-mobile"] .btn-group > label:last-child {
  border-radius: 0 5px 5px 0;
  border-right:0;
}

[data-button="gs-mobile"] .btn-group label .btn { 
  border:0; 
  border-radius:0;
  width:100%;
  text-align:center;
}
[data-button="gs-mobile"] .btn:hover {
  color:#FFD100;
  background-color:#000;
}
#esponi_OPA {
	border: 0 !important;
	background: #FFF !important;
	color: #000 !important;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04AA6D;
}
/* Hide all steps by default: */
.gs-steps-tab {
  display: none;
}
.form-floating > label	{
	padding: 1rem !important;
}
.dropzone {
	margin-bottom: 0 !important;
	background-color: transparent !important;
}

/* {% if not product_builder and mobile_detect == 'is_desktop' %}
.side-content {
	min-height: 696px;
}
.product-image {
	min-height: 696px;
}

{% endif %}
.dropzone {
	min-height: 0 !important;
}
{% if mobile_detect == 'is_mobile' %}
.dc-dz-text-wrapper {
	margin-top: 0;
	margin-bottom: 0;
	display: none;
}
{% endif %} */

.dz-file-preview p {
	text-align: center;
}
.dz-file-preview button {
	margin:0 auto;
    display:block;
}
.gs-switch-button {
  width: 324px;
  height: 2.5em;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate3D(-50%, 0, 0);
  will-change: transform;
  z-index: 197 !important;
  cursor: pointer;
  transition: 0.3s ease all;
  border: 1px solid black;
}
.gs-switch-button-case {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  display: inline-block;
  background: none;
  width: 49%;
  height: 100%;
  color: #e0e0e0;
  position: relative;
  border: none;
  transition: 0.3s ease all;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 1px;
}
.gs-switch-button-case:hover {
  color: grey;
  cursor: pointer;
}
.gs-switch-button-case:focus {
  outline: none;
}
.gs-switch-button .active {
  color: #151515;
  background-color: #000;
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  transition: 0.3s ease-out all;
}
.gs-switch-button .active-case {
  color: #FFD100;
}

.border-grey.darken-80 {
	border-color: #373737 !important;
}

/*
* Page
* Product Info
*/

.card-wrapper{
  margin: 0 auto;
}

.img-display {
  position: relative;
}
.img-showcase {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .img-showcase img{
  object-fit: cover;
  min-width: 100%;
} */

.media-video {
  height: 648px;
  width: auto;
  max-width: 100%;
  object-fit: cover; /* Optional: ensures video fills space if container is fixed */
  border-radius: 8px; /* Optional: match card style */
}

.media-wrapper {
  position: relative;
  height: 648px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  overflow: hidden;
}
.media-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: none;
}

.media-indicator-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.media-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.media-dot.active {
  background: #333;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.media-element {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: opacity 0.3s ease-in-out;
}

.img-select-wrapper {
  position: relative;
  /* display: flex;
  align-items: center; */
  overflow: hidden;
}
.img-select {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  /* padding: 0rem 0rem; */ /* create space for overlaid buttons */
}

.img-select a {
  outline: none;
}

.img-select a:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.img-select::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Webkit browsers */
}
.thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-nav:hover {
  background: rgba(255, 255, 255, 1);
}

.thumb-nav svg {
  width: 24px;
  height: 36px;
  pointer-events: none;
  flex-shrink: 0; /* Optional: prevents flex from shrinking it */
}

.thumb-nav.prev {
  left: 0.3rem;
}

.thumb-nav.next {
  right: 0.3rem;
}

.img-item.clone {
  opacity: 0.4;
  pointer-events: none;
}

.img-item{
  margin-top: 0.3rem;
  margin-right: 0.3rem;
  margin-bottom: 0px;
  margin-left: 0.3rem;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
  margin-left: 0;
}
.img-item:nth-child(4){
  margin-left: 0;
margin-right: 0;
}
.img-item:hover{
  opacity: 0.8;
}

.img-item .active {
  outline: 2px solid #f90;
}
  
.product-content{
  /* padding: 2rem 1rem; */
}
.product-link{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  background: #256eff;
  color: #fff;
  padding: 0 0.3rem;
  transition: all 0.5s ease;
}
.product-link:hover{
  opacity: 0.9;
}
.product-rating{
  color: #ffc107;
}
.product-rating span{
  font-weight: 600;
  color: #252525;
}
.product-price{
  margin: 1rem 0;
  font-size: 1rem;
  font-weight: 700;
}
.product-price span{
  font-weight: 400;
}
.last-price span{
  color: #f64749;
  text-decoration: line-through;
}
.new-price span{
  color: #256eff;
}
.purchase-info{
  overflow-y: auto;
  max-height: 694px;
  /* margin: 1.5rem 0; */
}
.social-links{
  display: flex;
  align-items: center;
}
.social-links a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #000;
  border: 1px solid #000;
  margin: 0 0.2rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.5s ease;
}
.social-links a:hover{
  background: #000;
  border-color: transparent;
  color: #fff;
}

.product-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.note-box {
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-left: 4px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #555;
}

.note-box .note-label {
  font-weight: bold;
  margin-right: 0.5rem;
  color: #444;
}

@media screen and (min-width: 992px){
  .product-layout{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 1rem;
  }
  .card-wrapper{
      /* height: 100vh; */
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .product-imgs{
      display: flex;
      flex-direction: column;
      justify-content: center;
  grid-column: 1 / span 2;
  }
  .product-content{
      padding-top: 0;
  }
}

@media screen and (max-width: 993px){
  .product-content{
      margin-top: 1rem;
  }
}

/*
 * The MIT License
 * Copyright (c) 2012 Matias Meno <m@tias.me>
 */
.dropzone, .dropzone * {
  box-sizing: border-box; }

.dropzone {
  position: relative; }
.dropzone .dz-preview {
	position: relative;
	display: block;
	width: 100%;
  margin: auto;
  top: 0;
}
    .dropzone .dz-preview .dz-progress {
      display: block;
      height: 15px;
      border: 1px solid #aaa; }
      .dropzone .dz-preview .dz-progress .dz-upload {
        display: block;
        height: 100%;
        width: 0;
        background: green; }
    .dropzone .dz-preview .dz-error-message {
      color: red;
      display: none; }
    .dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
      display: block; }
    .dropzone .dz-preview.dz-success .dz-success-mark {
      display: block; }
    .dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
      position: absolute;
      display: none;
      left: 30px;
      top: 30px;
      width: 54px;
      height: 58px;
      left: 50%;
      margin-left: -27px; }
.dropzone {
	border: 0 !important;
	background-color: #fafafa;
	margin-bottom: 10px;
	border-radius: 6px;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	transition: 0.5s all;
	color: #aaa;
}
.dropzone:hover {
	background-color: #f9f9f9;
}
.dc-dz-icon-wrapper i {
	font-size: 60px;
}

.dc-dz-text-wrapper {
  color: #212529;
  margin-bottom: 8px;
}

.dz-preview .fa-times {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: #fff;
  cursor: pointer;
  z-index: 999;
  width: 50px;
  height: 50px;
  line-height: 20px;
  text-align: center;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	transition: 0.5s all;
}
.dz-preview .fa-times:hover {
  background-color: #000;
}
.dz-image img {
  max-width: 100%;
  max-height: 475px;
  width: auto;
  margin: 0 auto;
}

.dz-upload-options {
  /* width:270px;
  margin: 0 auto; */
  font-weight: 500;
  color: #212529;
}

.dz-upload-options p {
  margin-bottom: -4px;
}

.dz-upload-options .dz-select-options {
  width: 275px;
  margin: 0 auto;
}

.dropzone .dz-preview .dz-image .fp-thumbnail {
    border-radius: 8px;
    max-height: 475px;
    position: relative;
    display: block;
    z-index: 10
}

.dz-dz-btn {
  position: relative;
  padding: 12px 5px;
  margin: 0.3125rem 1px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  border-radius: 0.2rem;
  outline: 0;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: box-shadow, transform;
}

.dz-dz-btn:focus,
.dz-dz-btn.focus,
.dz-dz-btn:active:focus,
.dz-dz-btn:active.focus,
.dz-dz-btn:active:focus:focus,
.dz-dz-btn:active:focus.focus,
.dz-dz-btn.active:focus,
.dz-dz-btn.active.focus {
  outline: 0;
  box-shadow: none !important;
}

.dz-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  padding: 0.46875rem .5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dz-btn:hover,
.dz-btn:focus {
  text-decoration: none;
}

.dz-btn:focus,
.dz-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.dz-btn.disabled,
.dz-btn:disabled {
  opacity: 0.65;
  box-shadow: none;
}

.dz-btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.dz-btn:not(:disabled):not(.disabled):active,
.dz-btn:not(:disabled):not(.disabled).active {
  background-image: none;
  box-shadow: none;
}

.dz-btn:not(:disabled):not(.disabled):active:focus,
.dz-btn:not(:disabled):not(.disabled).active:focus {
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25), none;
}

.dz-btn.btn-effect {
  background: none;
  border: 2px solid;
}

.dz-btn.btn-effect {
  color: #3498db;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.dz-btn,
.dz-btn.btn-default {
  color: #fff;
  background-color: #999999;
  border-color: #999999;
  box-shadow: 0 2px 2px 0 rgba(153, 153, 153, 0.14), 0 3px 1px -2px rgba(153, 153, 153, 0.2), 0 1px 5px 0 rgba(153, 153, 153, 0.12);
}


/* This is the main parent container. We'll use flexbox to lay out its children vertically. */
.product-imgs {
  display: flex;
  flex-direction: column;
}

/* This is the container for the large image. It will take up the remaining space. */
.img-display {
  flex-grow: 1; /* This makes the display fill available vertical space */
  display: flex;
}

/* This is the container directly holding the large image. */
.img-showcase {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Important to crop the image if it exceeds its container */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* This is the large image itself. */
.img-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This is the key property for filling the space */
}

/* The thumbnail slider will have its own space and won't be affected. */
.img-select-wrapper {
  /* No special styles needed here other than what's already there for layout */
}

.stepper {
  position: relative;
}
.stepper-input__button-left {
  color: #8487a6;
  padding: 6px 8px;
  border: 1px solid #8487A6;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: transparent;
  width: 36px;
}
.stepper-input__inner {
  height: 38px;
  margin: 0;
  padding: 0;
  width: 48px;
  text-align: center;
  border: 1px solid #8487A6;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}
.stepper-input__button-right {
  color: #8487a6;
  padding: 6px 8px;
  border: 1px solid #8487A6;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  background-color: transparent;
  width: 36px;
}
.stepper-input__wrapper {
  max-width: 120px;
}
.product-quantity input[type="number"] {
-moz-appearance: textfield; /* For Firefox */
}

.product-quantity input[type="number"]::-webkit-outer-spin-button,
.product-quantity input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none; /* For Chrome, Safari, Edge */
margin: 0;
}