/* ==========================================================================
   SC Inventory 2 — Stylesheet
   Sections:
     1. Base & Typography
     2. Layout & Containers
     3. Navigation & Top Bar
     4. Loading & Overlay
     5. Product Grid & Cards
     6. Status Labels & Badges
     7. Product Detail Page
     8. Lot List
     9. Filter Panel & Controls
    10. Color Selectors & Swatches
    11. Color Palette Widget
    12. Wishlist / Favorites
    13. Buttons & Interactive Elements
    14. Modal & Inquiry Form
    15. UIKit Overrides
    16. Dual Panel Mode
    17. Footer
    18. Media Queries
   ========================================================================== */


/* ==========================================================================
   1. Base & Typography
   ========================================================================== */








h1, h2, h3, h4, h5, h6 {
    font-family: 'sweet-sans-pro';
    letter-spacing: -1px;
}

#sc-inventory,
.filter-top,
#sc-filter-panel,
#sc-product-page {
    font-family: 'termina';
}

.uk-link, a {
    color: #060606;
    text-decoration: none;
    cursor: pointer;
}

.uk-link:hover, a:hover {
    color: #060606;
    text-decoration: none;
    cursor: pointer;
}


/* ==========================================================================
   2. Layout & Containers
   ========================================================================== */

div#sc-inventory {
    max-width: 1278px;
    margin: auto;
    padding: 20px;
}

.sc-top-nav {
    max-width: 1238px;
    margin: auto;
    padding: 1rem 0;
    background-color: #ffffff;
}

.inventory-container {
    min-height: 300px;
}

.uk-grid-md > * {
    padding-left: 15px;
}

.uk-container1.uk-container-large1 {
    width: 100%;
}

.sc-divider {
    border-bottom: 1px solid gray;
}

.sc-sub-section {
    margin-top: 2rem;
    font-family: 'sweet-sans-pro';
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sc-pointer {
    cursor: pointer;
}


/* ==========================================================================
   3. Navigation & Top Bar
   ========================================================================== */

.top-nav {
    padding: 10px 20px;
}

.top-spacer {
    width: 100%;
    border-top: 1px solid #e1b862;
    margin-top: 10px;
}

.site-logo img {
    width: 100%;
    max-width: 300px;
}

a.top-itm {
    padding: 7px 10px;
    border: 1px solid #77726d;
    margin-right: 5px;
}

a.top-itm:hover {
    background-color: #77726d;
    color: #ffffff;
}

.filter-btn.active {
    border: 1px solid #b7c760;
    background-color: #e3e9be;
}

p.filter-btns {
    text-align: right;
}

/* Sticky nav bar */
[uk-sticky] {
    padding: 0 15px;
}

[uk-sticky] .uk-align-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

[uk-sticky] .uk-align-right > * {
    margin: 0;
}

[uk-sticky] a.top-itm {
    display: inline-flex;
    align-items: center;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}

[uk-sticky] a.filter-btn,
[uk-sticky] .uk-search-default {
    width: 200px;
    box-sizing: border-box;
}

[uk-sticky] .uk-search-default .uk-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    padding-right: 30px;
    height: auto;
}

.uk-sticky.uk-active.uk-sticky-fixed.uk-sticky-below {
    background-color: #ffffff;
    padding: 0.5rem 15px;
}

.filter-top.sc-show-onload {
    position: relative !important;
    margin-top: 7vh;
}


/* ==========================================================================
   4. Loading & Overlay
   ========================================================================== */

#sc-inventory-loader {
    z-index: 9999;
    text-align: center;
}

.sc-inventory-loader {
    position: fixed;
    margin-top: 20%;
}

.sc-cover {
    text-align: center;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   5. Product Grid & Cards
   ========================================================================== */

.sc-product {
    position: relative;
}

.slab-title-container {
    margin-top: -0.8rem;
}

.slab-title {
    text-align: left;
    text-transform: uppercase;
    color: #77726C;
    font-weight: 500;
    font-size: 9px;
    margin-right: 15px;
}

.slab-material {
    text-align: left;
    color: #77726C;
    font-size: 0.85em;
    margin-right: 15px;
}

img.sl-image {
    width: 100%;
    height: 240px;
}

.marmi-thumb {
    height: 0;
    padding-bottom: 64.37%;
    width: 100%;
}

span.view.uk-icon {
    color: #91aa00;
}

.no-results {
    display: none;
    text-align: center;
    margin-top: 10%;
    font-size: 1.6em;
    font-weight: 100;
}

/* Callout overlay on product cards */
.sc-callout-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    z-index: 10;
    letter-spacing: 0.5px;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 0, 0, 0.3);
}


/* ==========================================================================
   6. Status Labels & Badges
   ========================================================================== */

.status-label {
    background-color: #f74a38;
    text-transform: uppercase;
    color: #ffffff;
    position: absolute;
    padding: 2px 7px;
    z-index: 1;
    margin-right: -4px;
    margin-top: 12px;
    right: 0;
    -moz-box-shadow: 0px 2px 4px 0px rgba(77, 77, 77, 1);
    box-shadow: 0px 2px 4px 0px rgb(0, 0, 0);
}

.status-label-inquire {
    position: absolute;
    z-index: 1;
    bottom: 0;
    background-color: #0089ff;
    right: 0;
    color: white;
    padding: 2px 3px;
    margin-bottom: -29px;
    margin-right: -4px;
    -moz-box-shadow: 0px 2px 4px 0px rgba(77, 77, 77, 1);
    box-shadow: 0px 2px 4px 0px rgb(0, 0, 0);
}


/* ==========================================================================
   7. Product Detail Page
   ========================================================================== */

.pp-stone-name {
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.spec.uk-grid-small {
    margin-top: 5px;
}

.spec-l {
    font-weight: 600;
    color: #6c6c6c;
    margin-bottom: 0.3rem;
}

span.spec-r {
    font-weight: 400;
    padding-left: 6px;
}

.info-label {
    margin-bottom: -17px;
    font-size: 1.4em;
    font-weight: 100;
    font-style: italic;
    margin-top: 29px;
}

div#pp-buttons {
    margin-top: 2em;
    margin-left: -6px;
}

p#maintenance {
    margin-bottom: 50px !important;
}

.sc-slabs-list-title {
    margin-top: 20px;
}

.sc-slabs-list-title h2 {
    color: #5e5e5e;
    font-weight: 300;
}

.uk-grid-small.additinal-info.uk-grid {
    font-size: 1rem;
    line-height: 1.4rem;
    padding-top: 1rem;
}

button#product-close svg {
    width: 2.2rem;
    height: 2.2rem;
}

.sc-dom-color {
    max-width: 50px;
    margin: 3px;
    border-radius: 4px;
    height: 25px;
    background-color: rgb(187, 176, 149);
    border: 1px solid #6c6c6c;
}

.box-inner.video-div {
    text-align: center;
}


/* ==========================================================================
   8. Lot List
   ========================================================================== */

div#lotlist {
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.lots-title {
    font-weight: 400 !important;
    font-size: 1.2rem;
}

.lot-title {
    text-align: left;
    padding-left: 0.6rem;
    font-size: 1.22em;
    color: #535353;
    width: 100%;
    background-color: #ffffff85;
}

.lot-title.selected {
    color: white;
    background-color: #905e2f;
}

.sc-lot {
    position: relative;
}

.lot-wrapper {
    position: relative;
}

.lot-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sc-side-panel {
    display: none;
    padding: 10px;
    top: 40%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 3px 2px 6px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 3px 2px 6px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 2px 6px 0px rgba(0, 0, 0, 0.3);
}


/* ==========================================================================
   9. Filter Panel & Controls
   ========================================================================== */

.sc-filter-reset {
    background-color: #9e6835;
    color: white;
    border-radius: 3px;
}

.palette-title, .sc-section {
    color: #3b3b3b;
    border-top: 2px solid #4f4f4f;
    text-align: left;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: -16px;
    margin-top: 2rem;
    padding: 0.5rem 0 1rem 0;
}

.paint-brand-selector {
    margin-bottom: 10px;
}

.checkboxes {
    font-size: 1.2rem;
    color: #ebebeb;
    font-family: 'sweet-sans-pro';
}

label.sc-color-itm {
    margin-top: 0 !important;
}

div#color-selection {
    /* display: table; */
}

#sc-filter-panel hr {
    border-top-color: #ffffff !important;
}


/* ==========================================================================
   10. Color Selectors & Swatches
   ========================================================================== */

.color-select {
    margin: 5px 3px;
    float: left;
    width: 1.4em;
    height: 1.4em;
    border: 1px solid #787878;
    border-radius: 4px;
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
}

.color-select.active {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.color-select span.uk-icon {
    display: none;
    color: #b8ff00;
    vertical-align: top;
}

.color-select.active span.uk-icon {
    display: block;
}

.color-select .uk-icon svg polyline {
    stroke-width: 2.5;
}

/* Swatch color variants */
.color-select.brown  { background-color: #8e6b43; }
.color-select.grey   { background-color: #cbcbcb; }
.black.color-select  { background-color: #373534; }
.green.color-select  { background-color: #015E46; }
.blue.color-select   { background-color: #104a92; }
.red.color-select    { background-color: #ab1800; }


/* ==========================================================================
   11. Color Palette Widget
   ========================================================================== */

.colorpalette {
    cursor: pointer;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 12px;
    height: 32px;
    padding: 2px;
    width: 100%;
    clear: left;
}

.colorpalette div {
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    width: calc(10% - 2px);
    height: 2rem;
    margin-top: 1px;
    margin-left: 2px;
}

div#selected-color {
    text-align: center;
    min-height: 55px;
    margin-right: 4px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-item {
    padding: 3px 1px;
    font-size: 12px;
    float: left;
    width: calc(25% - 6px);
    min-height: 60px;
    margin-top: 2px;
    margin-right: 4px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sc-light { color: #fbfbfb; }
.sc-dark  { color: #3a3a3a; }


/* ==========================================================================
   12. Wishlist / Favorites
   ========================================================================== */

.wishlist-title {
    color: #8e9d35;
}

.wishlist-btn.uk-icon {
    color: #292929;
}

.wishlist-buttons {
    margin: 20px 0;
}

.wishlist-buttons * {
    color: #232900;
}

.sc-fav-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.sc-fav-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-fav-title {
    line-height: 1.2;
    font-size: 0.9rem;
    color: #77726C;
    font-family: 'Gambetta';
}

span.sc-fav-material {
    color: #77726C;
    font-size: 0.9rem;
}

.sc-fav-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.85);
    padding-bottom: 10px;
}

.sc-fav-specs.fav-descr {
    font-family: 'Gambetta';
    color: #77726C;
    font-size: 0.9rem;
    margin-top: -5px;
}

span.sc-wishlist-slabid {
    color: #4e4e4e;
}

.active.uk-icon svg path,
.active svg path {
    fill: #000;
}


/* ==========================================================================
   13. Buttons & Interactive Elements
   ========================================================================== */

.sc-button-small {
    color: #77726d;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 8px;
    background-color: #ffffff;
    line-height: 2em;
    text-transform: none;
    margin-bottom: 5px;
}

button.uk-button.sc-button-small {
    font-family: 'sweet-sans-pro';
    font-size: 12px;
}

.sc-button-small span.uk-icon {
    padding-right: 5px;
}

/* Conditional toggle button */
.sc-cond-btn span.sc-txt-active {
    display: none;
}

.sc-cond-btn.active span.sc-txt-active {
    display: inline-block;
}

.sc-cond-btn.active span.sc-txt-passive {
    display: none;
}

button.active.sc-cond-btn {
    background-color: rgba(255, 255, 255, 0);
    color: #615d58;
}


/* ==========================================================================
   14. Modal & Inquiry Form
   ========================================================================== */

.uk-modal {
    z-index: 101000;
}

.uk-offcanvas {
    z-index: 100000;
}

.uk-modal-close-full {
    background: rgba(255, 255, 255, 0);
}

.uk-close {
    color: #000;
}

.uk-modal-footer button.uk-button {
    font-family: 'sweet-sans-pro';
}

.uk-modal-body > * {
    font-family: 'sweet-sans-pro';
}

.sc-modal-label {
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* Inquiry modal */
div#modal-inquiry > * {
    font-family: 'sweet-sans-pro' !important;
}

div#modal-inquiry h2.uk-modal-title {
    font-family: 'termina';
    color: #656565 !important;
    font-size: 1.1rem !important;
}

div#modal-inquiry .uk-modal-header {
    border-bottom: 0 !important;
}

div#modal-inquiry .uk-modal-footer {
    border-top: 0 !important;
    padding-top: 3rem;
}

div#modal-inquiry input.uk-input,
div#modal-inquiry select.uk-select {
    font-size: 1rem;
}

div#modal-inquiry .uk-modal-dialog {
    width: 800px;
}

div#form-title-slab2 {
    text-align: right;
}


/* ==========================================================================
   15. UIKit Overrides
   ========================================================================== */

.uk-checkbox:checked,
.uk-checkbox:indeterminate,
.uk-radio:checked {
    background-color: #99b600;
    border-color: transparent;
}

.uk-dropdown {
    padding: 10px;
}

.uk-button-primary {
    background-color: #77726d;
    border-color: #77726d;
}

.uk-button-primary:hover,
.uk-button-primary:focus {
    background-color: #5f5b57;
    border-color: #5f5b57;
}

.uk-button-primary:active,
.uk-button-primary.uk-active {
    background-color: #4a4743;
    border-color: #4a4743;
}


/* ==========================================================================
   16. Dual Panel Mode
   ========================================================================== */

body.sc-dual-panel #sc-product-page {
    display: block !important;
    opacity: 1 !important;
}

body.sc-dual-panel #sc-wishlist-panel {
    z-index: 102000 !important;
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

body.sc-dual-panel #sc-wishlist-panel .uk-offcanvas-bar {
    display: block !important;
    visibility: visible !important;
    transform: none !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 350px !important;
    pointer-events: auto;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

body.sc-dual-panel::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 101500;
    pointer-events: none;
}


/* ==========================================================================
   17. Footer
   ========================================================================== */

.marmi-footer {
    text-align: center;
    margin-top: 3rem;
}

.marmi-footer img {
    width: 100%;
    max-width: 600px;
}

img.footer-logo {
    width: 300px;
    text-align: center;
}

.disclaimer {
    text-align: center;
    padding-bottom: 2rem;
}


/* ==========================================================================
   18. Media Queries
   ========================================================================== */

@media (min-width: 800px) {
    .uk-sticky {
        padding: 0;
    }

    .uk-sticky.uk-active.uk-sticky-fixed.uk-sticky-below {
        padding: 0.5rem 0;
    }
}

@media (max-width: 639px) {
    .top-spacer {
        margin-top: 5px;
    }

    .palette-title {
        font-size: 0.9rem !important;
    }

    img.sl-image {
        width: 100%;
        height: 135px;
    }

    div#sc-inventory {
        padding-left: 8px;
    }

    [uk-sticky] .uk-align-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    [uk-sticky] a.top-itm {
        min-width: calc(50% - 8px);
        flex: 1 1 calc(50% - 8px);
    }

    [uk-sticky] .uk-search-default {
        width: 100%;
        flex: 1 1 100%;
    }
}

div#detail-top {
    max-width: 1278px;
}

button#product-close svg
 {
    width: 20px;
    height: 20px;
}

div#stone-specs {
    font-family: 'Gambetta';
    font-size: 12px;
}

div#sc-product-page p{
     font-size: 16px;
font-family: 'Gambetta';

}


	   .square-item {
            position: relative;
            width: 100%;
            padding-bottom: 100%; /* This creates the square aspect ratio */
            overflow: hidden;
        }

        /* Background image styling */
        .square-item-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.3s ease;
        }

        /* Optional hover zoom effect */
        .square-item:hover .square-item-bg {
            transform: scale(1.05);
        }

        /* Content overlay */
        .square-item-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
			/*
            padding: 15px;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
            color: #fff;
			*/
        }


.uk-sticky {
    font-family: 'sweet-sans-pro';
}
.top-itm{
background-color:#ffffff;
color:#77726d;
border-color:#77726d;

}

.wishlist-title {
    font-family: 'termina';

    color: #6b6662;
}

span.uk-margin-small-right.uk-icon svg, .sc-button-small span[uk-icon="chevron-down"] svg {
    border: 1.5px solid #6b6662;
    border-radius: 14px;
    padding: 1px;
}

a.wishlist-control, a.wishlist-control:hover {
    color: #4d4d4d;
    font-family: 'sweet-sans-pro';
}

span.uk-margin-small-right.uk-icon svg polyline {
    stroke-width: 2;
    stroke: #6b6662;
}

.wli {
    margin-bottom: 0.3rem;
}

.wishlist-controls {
    border-bottom: 1px solid rgba(0,0,0,0.85);
    margin-bottom: 3rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
    font-family: 'sweet-sans-pro';
}

.sc-modal-label {
    font-family: 'termina';
    color: #6b6662;
}

.sc-fav-item svg {
    border: 1.5px solid #6b6662;
    border-radius: 22px;
    padding: 3px;
    width: 30px;
}
a.top-itm:hover {
    background-color: #77726d;
    color: #ffffff;
}

.uk-input, .uk-select, .uk-textarea {
   
    font-weight: 600;
    width: 100%;  
    color: #77726d;
    border: 1px solid #77726d;
 
}
.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
    color: #77726d;
    border-color: #77726d;
}

.uk-search-input {
    border: 1px solid #77726d !important;
    color: #77726d;
    font-family: 'sweet-sans-pro';
}
.uk-search-input:focus {
    border-color: #77726d !important;
    outline: none;
}
.uk-search-input::placeholder {
    color: #77726d;
    opacity: 1;
}
.uk-search-icon-flip {
    color: #77726d !important;
}


.uk-modal-header h2 {
    color: #77726d !important;
    font-family: 'termina';
    text-transform: uppercase;
    font-size: 1.2rem;
}

.uk-modal-footer button.uk-button {
    text-transform: none;
}

span.uk-icon svg {
    width: 16px;
    height: 16px;
}
