.collections-filter{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: stretch;
	margin-top: 10px;
    margin-bottom: 10px;
}


/* Dropdown wrappers */
.custom-filter-dropdown,
.custom-sort-dropdown {
	position: relative;
	display: inline-block;
	margin-left: 10px;
}

/* Trigger Buttons */
.filter-trigger,
.sort-trigger {
	width: 130px;
	padding: 7px 11px;
	border: 1px solid #77726C;
	background: #FFFFFF;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 10px;
}

/* Chevron */
.filter-trigger .chevron,
.sort-trigger .chevron {
	border: solid #77726C;
	border-width: 0 1px 1px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	transition: transform .2s;
}

/* Panels (shared styles) */
.filter-dropdown-panel,
.sort-dropdown-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 130px;
	border: 1px solid #77726C;
	border-top: 0px !important;
	background: #fff;
	padding: 0px 0;
	z-index: 9999;
}

/* Options (shared styles) */
.filter-option,
.sort-option {
	display: flex;
	align-items: center;
	padding: 5px 5px;
	gap: 8px;
	cursor: pointer;
	border-bottom: 1px solid #77726C;
}

.filter-option:last-child,
.sort-option:last-child {
	border-bottom: none;
}

/* Filter checkboxes only */
.filter-option input {
	display: none;
}

.filter-option .checkbox {
	width: 12px;
	height: 12px;
	border: 1px solid #77726C;
	border-radius: 0px;
	display: inline-block;
	background: #fff;
	position: relative;
}

.filter-option input:checked + .checkbox {
	background: #77726C;
}

.filter-option input:checked + .checkbox:after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 12px;
	height: 12px;
	/*border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);*/
}

/* Option text */
.label-text,
.sort-option {
	color: #77726C;
}

/* Highlight selected sort */
.sort-option.active {
	background: #f4f4f4;
}

/* Chevron rotation for BOTH dropdowns */
.custom-filter-dropdown.open .chevron,
.custom-sort-dropdown.open .chevron {
	transform: rotate(-135deg);
}

/* Force panel display when open (works with JS logic) */
.custom-filter-dropdown.open .filter-dropdown-panel,
.custom-sort-dropdown.open .sort-dropdown-panel {
	display: block !important;
}



/*Collections Grid*/
.collections-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    width: calc(100% + 20px);
    margin-left: calc(-20px / 2 );
    margin-right: calc(-20px / 2 );
}
.collections-grid .collection-grid-single {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 16.6666666667% !important;
    margin-top: 0px;
    margin-bottom: 20px;
}

.collections-grid .collection-grid-single .single-collection-wrapper{
	width: 100%;
	margin-left: 10px;
	margin-right: 10px;
}

.collections-grid .collection-grid-single .collection-thumbnail{
	display: block;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: 100%;
	padding-top: 100%;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	
}
.collections-grid .collection-grid-single .collection-thumbnail img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
}

.collections-grid .collection-grid-single .collection-name p{
	color: #77726C;
	text-transform: uppercase;
	margin-top: 8px;
}


@media screen and (max-width: 850px){
	.collections-grid .collection-grid-single {
	    width: 25% !important;
	}
}
@media screen and (max-width: 640px){
	.collections-grid .collection-grid-single {
	    width: 50% !important;
	}
}

/*Collectiosn Grid Popup*/
.collections-popups{
	display: none;
	position: fixed;
	z-index: 500;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.collections-popups .collection-popup-single{
	display: none;
	position: fixed;
    z-index: 100000;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    background-color: #FFFFFF;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
}

.collections-popups .collection-popup-single .collection-full-image {
    width: 60%;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.collections-popups .collection-popup-single .collection-stone-info {
    width: 40%;
    /*padding: 30px 50px 50px;*/
    padding: 30px;
}
.collections-popups .collection-popup-single .collection-stone-info .stone-info{
	margin-bottom: 100px;
}
.collections-popups .collection-popup-single .collection-stone-info .stone-title {
    border-bottom: 1px solid #77726C;
}



.collections-popups .collection-popup-single .collection-stone-info .close-popup-container {
    margin-bottom: 30px;
    text-align: right;
}
.collections-popups .collection-popup-single .collection-stone-info .close-popup {
    color: #77726C !important;
}
.collections-popups .collection-popup-single .collection-stone-info .close-popup:hover{
	color: #9f6a37 !important;
}

.collections-popups .collection-popup-single .collection-stone-info .stone-buttons a {
	display: inline-block;
	margin-right: 20px;
	color: #77736C !important;
	margin-bottom: 5px;
	font-family: 'sweet-sans-pro' !important;
}
.collections-popups .collection-popup-single .collection-stone-info .stone-buttons a i{
	margin-right: 0.7em;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    float: none !important;
    color: inherit !important;
}
.collections-popups .collection-popup-single .collection-stone-info .stone-buttons a i:before{
	color: inherit !important;
}

.collections-popups .collection-popup-single .collection-stone-info .stone-buttons a:hover{
	color: #9f6a37 !important;
}


@media screen and (max-width:900px){
	.collections-popups .collection-popup-single{
	    max-width: 75vw;
	}
	.collections-popups .collection-popup-single .collection-full-image {
	    width: 50%;
	    height: auto;
	}
	.collections-popups .collection-popup-single .collection-stone-info {
	    width: 50%;
	    padding: 20px;
	}
}

@media screen and (max-width:640px){
	.collections-popups .collection-popup-single{
	    max-width: 75vw;
	}
	.collections-popups .collection-popup-single .collection-full-image {
	    width: 100%;
	    height: auto;
	    padding-bottom: 50%;
	    -webkit-box-ordinal-group: 3;
	        -ms-flex-order: 2;
	            order: 2
	}
	.collections-popups .collection-popup-single .collection-stone-info {
	    width: 100%;
	    padding: 20px;
	    -webkit-box-ordinal-group: 2;
	        -ms-flex-order: 1;
	            order: 1;
	}
	.collections-popups .collection-popup-single .collection-stone-info .close-popup-container{
		margin-bottom: 0px;
	}
	.collections-popups .collection-popup-single .collection-stone-info .stone-info{
		margin-bottom: 20px;
	}
}


/*Popup Controls*/
.collections-popups.inner-active{
	display: block;
}
.collections-popups .collection-popup-single.active-popup{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}


/* ~======== Loading Animation ========~ */

.loading-div {
	position: absolute;
	height: 30vh;
	width: 100%;
	z-index: 3;
	padding-top: 0vh;
	opacity: 1;
	-webkit-transition: all 1s ease-In-Out;
	-o-transition: all 1s ease-In-Out;
	transition: all 1s ease-In-Out;
	pointer-events: none;
	display:none;
}
.loading-div.start{
	display:block
}
section.loading-anim {
	width: 150px;
	height: 150px;
	margin: 0 auto;
	padding: 20px;
}
.spinner {
	animation: rotate-spinner 1.4s linear;
	-webkit-animation: rotate-spinner 1.4s linear;
	-moz-animation: rotate-spinner 1.4s linear;
	width:100%;
	height:100%;
	position: relative;
	-webkit-animation-iteration-count: infinite;
	      animation-iteration-count: infinite;
	overflow: visible;
}
.spinner-dot {
	width:174px;
	height:174px;
	position: relative;
	top: 0;
}
@keyframes rotate-spinner {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@-webkit-keyframes rotate-spinner {
  to {
    -webkit-transform: rotate(360deg);
  }
}
.path {
	stroke-dasharray: 170;
	stroke-dashoffset: 20;
}

/*Collections controles*/
/*.collections-filter {
    max-width: 200px;
    position: relative;
	display: inline-block;
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    
}*/
/*.collections-filter label {
    display: block;
    text-align: right;
    visibility: hidden;
    height: 0px !important;
}*/
/*.collections-filter #postOrder{
    min-width: 125px;
    border: 1px solid #77726C !important;
    padding: 5px 12px;
    font-family: 'sweet-sans-pro' !important; 
    font-size: 12px;
    font-weight: 500;
    appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 12px 12px;

	background-image: url("data:image/svg+xml;utf8,\
		<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
		<polyline points='6 9 12 15 18 9'/></svg>");
}*/
/*.collections-filter #postOrder::after {
	content: "";
	position: absolute;
	pointer-events: none;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	width: 12px;
	height: 12px;
	background: url('/wp-content/uploads/2025/10/arrow-up.svg') no-repeat center;
	background-size: contain;
	background-color: red !important;
}*/

/* Old IE/Edge */
.collections-filter #postOrder::-ms-expand { 
	display: none; 
}


.hidden-image{
	display: none;
}