* {
	outline: none !important;
}

html {
	-webkit-tap-highlight-color: transparent !important;
}

/* --- Layout & Container --- */
.product-catalog-wrapper.ast-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: block;
}

/* --- Hero Section --- */
.product-catalog-hero {
	min-height: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    background-color: #F5F1ED;
    padding: 0px 20px;
    text-align: center;
    margin-bottom: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.product-catalog-hero > .ast-container {
    flex-direction: column;
    align-items: center;
}

.product-catalog-hero .catalog-title {
    font-size: 52px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-catalog-hero .catalog-description {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    max-width: 670px;
    margin: 0 auto;
    line-height: 1.6;
}

.product-catalog-hero .catalog-description p {
	margin-bottom: 0;
}

/* --- Tabs Section --- */
.catalog-tabs-nav {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 30px 20px;
    border-bottom: 1px solid oklch(92.8% 0.006 264.531);
    display: flex;
    justify-content: center;
}

.catalog-tabs-list {
        display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0 20px;
    justify-content: start;
    margin: 0;
    width: 100%;
}

.catalog-tabs-list .tab-item {
    background-color: #f6f3f4;
    color: #364153;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
	width: fit-content;
}

.catalog-tabs-list .tab-item:hover {
    background-color: #ebe6e7;
}

.catalog-tabs-list .tab-item.active {
    background-image: linear-gradient(90deg, #C68F5A, #B65F6A);
    color: #fff;
    box-shadow: 0 4px 12px rgba(234, 126, 102, 0.3);
}

/* --- Product Grid --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px; /* Vertical / Horizontal gap */
    padding: 60px 0;
}

/* Responsive Grid */
@media (max-width: 1280px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 921px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .catalog-grid {
        grid-template-columns: 1fr;
		gap: 30px 20px;
    	padding: 50px 0;
    }
}

/* --- Product Card --- */
.catalog-item {
    animation: fadeIn 0.5s ease;
}

.cat-img-box {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 1px 1px 15px #00000012;
    aspect-ratio: 1 / 1;
    position: relative;
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.catalog-item:hover .cat-img-box img {
    transform: scale(1.08); /* Smooth zoom */
}

/* Typography */

.cat-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.catalog-item:hover .cat-title {
    color: #C68F5A;
}

.cat-name {
    font-size: 14px;
    color: #6a7282;
    font-weight: 600;
}

/* Empty State */
.catalog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 12px;
    color: #777;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.site-header {
    position: sticky;
    top: 0;
}

/* --- Product Modal (Lightbox) --- */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999; /* Top level */
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.product-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.product-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: modalZoom 0.3s ease-out;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 4px;
    overflow: hidden;
    line-height: 0; /* Remove space below image */
}

.product-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
	font-family: math;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
    transform-origin: center;
}

.product-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

@keyframes modalZoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Pointer for clicable items */
.cat-img-box {
    cursor: pointer;
}

.home-collections-grid .uagb-image-heading,
.home-collections-grid .uagb-image-caption {
	transform: none;
	margin-bottom: 0;
	margin-top: 12px;
	font-weight: 600;
}

.home-collections-grid .wp-block-uagb-image__figure {
  overflow: hidden;
	border-radius: 16px;
}

.home-collections-grid .wp-block-uagb-image--layout-overlay__color-wrapper {
    background: linear-gradient(to top in oklab, color-mix(in oklab, #000 80%, transparent) 0%, color-mix(in oklab, #000 40%, transparent) 50%, transparent 100%);
}

.home-products__columns .wp-block-uagb-image img {
	aspect-ratio: 1/1;
}

.home-products__columns .wp-block-uagb-image .uagb-image-caption {
	margin: 12px 0 0;
	transition: color 0.25s linear;
}

.home-products__columns .wp-block-uagb-image:hover .uagb-image-caption {
	color: #C68F5A;
}

.site-footer .menu-main-menu-container .menu-item {
	margin-bottom: 8px;
}

.site-footer .uagb-icon-list__label {
	transition: all .2s linear;
}

.site-footer .menu-main-menu-container .menu-link,
.site-footer .footer-contact__items .uagb-icon-list__label {
	color: #ffffffcc;
}

.site-footer .menu-main-menu-container .menu-link:hover,
.site-footer .footer-contact__items .uagb-icon-list__label:hover {
	color: #c68f5a;
}

.wp-block-uagb-icon-list.uagb-block-d361ea6a .wp-block-uagb-icon-list-child:hover .uagb-icon-list__label {
	color: #c68f5a;
}

.gs_logo_container .gs_logo_title {
	font-size: 24px;
	font-weight: 700;
    color: #33333366;
    margin-top: 0;
    transition: color 0.25s linear;
}

.gs_logo_container .gs_logo_title:hover {
	color: #ea7e66;
}

.wp-block-button__link,
.ast-outline-button {
	transition: all 0.25s linear !important;
}

.home-collections-grid .wp-block-uagb-image--layout-overlay-link {
    margin: -30px;
}

.home-collections-grid .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading,
.home-collections-grid .wp-block-uagb-image--layout-overlay__inner .uagb-image-caption {
	text-align: left;
	pointer-events: none;
}

.ast-desktop .site-header .ast-menu-hover-style-underline > .menu-item > .menu-link::before {
    width: 80% !important;
    height: 2px;
}

label {
    color: #333333;
    font-size: 16px;
}

.form-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 select, .wpcf7 textarea.wpcf7-form-control {
	border: 1px solid #d1d5dc;
	border-radius: 8px;
	margin-top: 6px;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 select {
	height: 50px;
}

.wpcf7 textarea.wpcf7-form-control {
	height: 170px;
}



.ast-custom-button,
.wp-block-button__link,
.wpcf7-form-control.wpcf7-submit,
div#n2-ss-2 .slider-button__layer.slider-button__layer a {
    background-size: 200% auto;
    background-image: linear-gradient(90deg, #C68F5A 0%, #B65F6A 50%, #C68F5A 100%);
    transition: background-position 0.5s ease-in-out, transform 0.3s ease, box-shadow 1.3s ease;
    background-position: left center;
    border: none;
    color: #fff;
}

.ast-custom-button:hover,
.wp-block-button__link:hover,
.wpcf7-form-control.wpcf7-submit:hover,
div#n2-ss-2 .slider-button__layer.slider-button__layer a:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hover-scale {
	transition: all ease 300ms;
}

.hover-scale:hover {
	scale: 105%;
}

/* --- View More / Locked Section --- */
.catalog-view-more {
    padding: 60px 20px;
    margin: 20px 0 70px;
    background-color: #F9F5F3; /* Light beige to match theme */
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.view-more-content {
    max-width: 600px;
    margin: 0 auto;
}

.vm-title {
    font-size: 32px;
    font-weight: 700;
    color: #4a2c2a; /* Dark brown/red tone */
    margin-bottom: 15px;
}

.vm-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* --- Request Modal Specifics --- */
.request-modal-content {
    background: #fff;
    width: 600px;
    max-width: 90vw;
    padding: 25px 25px 10px 25px;
    border-radius: 12px;
    position: relative;
    animation: modalZoom 0.3s ease-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.req-title {
    font-size: 28px;
    margin-bottom: 24px;
    text-align: left;
    font-weight: 700;
}

.req-form-wrapper {
    text-align: left;
}

/* CF7 Overrides for Modal */
.req-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 5px;
}

.req-form-wrapper label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
    color: #444;
}

.request-modal-overlay .product-modal-close {
    background: #4a2c2a;
    color: white;
    top: -15px;
    right: -15px;
}

.request-modal-overlay .product-modal-close:hover {
    background-color: #333;
    transform: scale(1.1) rotate(90deg);
}

/* Adjust contact form inputs in modal if needed */
.req-form-wrapper input:not([type="submit"]),
.req-form-wrapper select,
.req-form-wrapper textarea {
    width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

.req-form-wrapper input:focus,
.req-form-wrapper select:focus,
.req-form-wrapper textarea:focus {
    background-color: #fff;
    border-color: #C68F5A;
    box-shadow: 0 0 0 3px rgba(198, 143, 90, 0.1);
}

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 5px;
}

.hero-slider__buttons-column > div {
    flex-direction: row !important;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-slider__buttons-column > div > div:nth-child(2) a {
    transition: all 0.25s linear !important;
}

.n2-ss-slider {
    min-height: 100vh !important;
}

.site-footer .sub-menu {
    display: none;
}

.header-collection__items {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: -18px;
}

.header-collection__items > * {
    margin: 0;
}

.header-collection__items img {
    width: 40px;
    height: 35px;
    object-fit: contain;
}

@media screen and (min-width: 922px) {
    .main-header-menu .sub-menu {
        width: 260px;
        left: 18px !important;
        border-radius: 8px;
        padding: 10px 0;
        background: var(--ast-global-color-5);
    }

    .main-header-menu .sub-menu .menu-link {
        padding: 8px 16px;
        font-size: 14px;
        transition: none;
    }
}

@media screen and (max-width: 921px) {
	.home-banner p {
		font-size: 20px;
	}
	
	.product-catalog-hero {
		min-height: 240px;
	}
	
	.product-catalog-hero .catalog-title {
		font-size: 32px;
	}
	
	.catalog-tabs-nav {
		padding: 25px 20px;
	}
	
	.catalog-tabs-list {
		padding: 0;
		flex-direction: row !important;
	}
	
	.catalog-view-more {
		padding: 40px 20px;
		margin: 0px 0 60px;
	}
	
	.vm-title {
		font-size: 24px;
	}
	
	.ast-builder-layout-element.ast-header-button-1 {
        padding: 0;
        margin-right: -6px;
    }
    
    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
        display: flex !important;
    }
}

@media screen and (max-width: 767px) {
	.product-catalog-hero .catalog-title {
		font-size: 28px;
	}
	
	.product-catalog-hero .catalog-description {
		font-size: 16px;
	}
	
	.gs_logo_container .gs_logo_title {
		font-size: 20px;
	}
	
	.site-footer .ast-builder-footer-grid-columns {
		display: grid;
		grid-template-columns: 1fr !important;
        gap: 20px;
	}
	
	.site-footer .ast-builder-footer-grid-columns > div,
	.site-footer .ast-builder-footer-grid-columns > div p {
		margin-bottom: 5px !important;
	}
}