/* =========================================================
   GOLD PRODUCTS — COMPACT PRODUCT IMAGE
   ========================================================= */

.gold-products-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin: 0;
    padding: 0;
}


/* =========================================================
   CARD
   ========================================================= */

.gold-product-card {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    background: #fff !important;

    border: 1px solid #e7e7e7;
    border-radius: 14px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.gold-product-card:hover {
    transform: translateY(-2px);

    border-color: #d7c28d;

    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}


/* =========================================================
   IMAGE AREA
   ========================================================= */

/*
   KLJUČNA STVAR:
   Image zona je sada mnogo niža.
   Nema velikog paddinga iznad proizvoda.
*/

.gold-product-image-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    height: 245px;

    padding: 5px 15px;

    background: #fff !important;

    overflow: hidden;

    text-decoration: none !important;
}


/* =========================================================
   IMAGES
   ========================================================= */

.gold-product-image {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    transform: translate(-50%, -50%);

    transition:
        opacity .3s ease,
        transform .35s ease;
}


/* MAIN */

.gold-product-image-main {
    opacity: 1;
    z-index: 1;
}


/* HOVER */

.gold-product-image-hover {
    opacity: 0;
    z-index: 2;
}


/* SECOND IMAGE ON HOVER */

.gold-product-image-link.has-hover-image:hover
.gold-product-image-main {
    opacity: 0;
}

.gold-product-image-link.has-hover-image:hover
.gold-product-image-hover {
    opacity: 1;
}


/* =========================================================
   CONTENT
   ========================================================= */

.gold-product-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 18px 20px 20px;

    background: #fff !important;
}


/* =========================================================
   TITLE
   ========================================================= */

.gold-product-title {
    margin: 0 0 9px !important;
    padding: 0 !important;

    font-family: "Inter Tight", sans-serif !important;

    font-size: 18px !important;
    line-height: 1.25 !important;

    font-weight: 500 !important;

    letter-spacing: -.01em;
}

.gold-product-title a {
    color: #111 !important;
    text-decoration: none !important;
}

.gold-product-title a:hover {
    color: #8c7131 !important;
}


/* =========================================================
   PRICE
   ========================================================= */

.gold-product-price {
    margin: 0 0 6px !important;

    font-family: "Inter Tight", sans-serif !important;

    font-size: 21px !important;
    line-height: 1.2 !important;

    font-weight: 600 !important;

    color: #111 !important;
}

.gold-product-price .amount {
    color: #111 !important;
}

.gold-product-price ins {
    text-decoration: none !important;
}

.gold-product-price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 6px;
}


/* =========================================================
   BUYBACK
   ========================================================= */

.gold-product-buyback {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin: 0 0 15px;

    padding: 8px 0;

    background: transparent !important;

    border: 0;

    border-bottom: 1px solid #ededed;

    font-family: "Inter Tight", sans-serif;

    font-size: 13px;

    color: #777;
}

.gold-product-buyback strong {
    color: #222;

    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.gold-product-actions {
    width: 100%;
    margin-top: auto;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.gold-quantity {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 42px;

    margin: 0 0 8px;

    background: #fff;

    border: 1px solid #dedede;

    border-radius: 7px;

    overflow: hidden;
}


/* BUTTONS */

.gold-qty-minus,
.gold-qty-plus {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 100%;

    padding: 0;
    margin: 0;

    border: 0 !important;

    background: transparent !important;

    color: #222 !important;

    font-size: 19px;
    font-weight: 300;

    cursor: pointer;

    box-shadow: none !important;
}

.gold-qty-minus:hover,
.gold-qty-plus:hover {
    background: #f7f7f7 !important;
    color: #8c7131 !important;
}


/* INPUT */

.gold-qty-input {
    width: 46px !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-family: "Inter Tight", sans-serif !important;

    font-size: 15px !important;
    font-weight: 500 !important;

    text-align: center;

    outline: none !important;
    box-shadow: none !important;
}

.gold-qty-input::-webkit-inner-spin-button,
.gold-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gold-qty-input {
    -moz-appearance: textfield;
}


/* =========================================================
   ADD TO CART
   ========================================================= */

.gold-add-to-cart,
.gold-view-product {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 44px;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 0 !important;
    border-radius: 7px !important;

    background: #111 !important;

    color: #fff !important;

    font-family: "Inter Tight", sans-serif !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    letter-spacing: .04em;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow: none !important;

    transition: background .2s ease;
}

.gold-add-to-cart:hover,
.gold-view-product:hover {
    background: #8c7131 !important;
    color: #fff !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .gold-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .gold-product-image-link {
        height: 240px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .gold-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px;
    }

    .gold-product-image-link {
        height: 235px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .gold-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .gold-product-card {
        border-radius: 10px;
    }

    .gold-product-image-link {
        height: 185px;
        padding: 3px 8px;
    }

    .gold-product-content {
        padding: 12px;
    }

    .gold-product-title {
        font-size: 15px !important;
        margin-bottom: 7px !important;
    }

    .gold-product-price {
        font-size: 17px !important;
    }

    .gold-product-buyback {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .gold-quantity {
        height: 37px;
        margin-bottom: 7px;
    }

    .gold-qty-minus,
    .gold-qty-plus {
        width: 33px;
        font-size: 17px;
    }

    .gold-qty-input {
        width: 38px !important;
        font-size: 14px !important;
    }

    .gold-add-to-cart,
    .gold-view-product {
        min-height: 40px;
        font-size: 10px !important;
        padding: 0 6px !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .gold-products-grid {
        gap: 8px;
    }

    .gold-product-image-link {
        height: 170px;
        padding: 0 5px;
    }

    .gold-product-content {
        padding: 10px;
    }

    .gold-product-title {
        font-size: 14px !important;
    }

    .gold-product-price {
        font-size: 16px !important;
    }

    .gold-product-buyback {
        font-size: 10px;
    }
}





















/* =========================================
   GOLD ARCHIVE PRODUCTS
   ========================================= */

.gold-archive-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 26px;
}


/* CARD */

.gold-archive-product {
    display: flex;

    flex-direction: column;

    background: #fff;

    border: 1px solid #e7e7e7;

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.gold-archive-product:hover {
    transform: translateY(-2px);

    border-color: #d8c69a;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}


/* =========================================
   IMAGE
   ========================================= */

.gold-archive-image {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    height: 275px;

    padding: 12px 22px;

    background: #fff;

    overflow: hidden;

    text-decoration: none;
}


/* BOTH IMAGES */

.gold-archive-image img {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: translate(-50%, -50%);

    background: transparent;

    transition: opacity .3s ease;
}


/* MAIN */

.gold-main-image {
    opacity: 1;

    z-index: 1;
}


/* HOVER */

.gold-hover-image {
    opacity: 0;

    z-index: 2;
}


/* SHOW SECOND GALLERY IMAGE */

.gold-archive-image.gold-has-hover:hover
.gold-main-image {
    opacity: 0;
}

.gold-archive-image.gold-has-hover:hover
.gold-hover-image {
    opacity: 1;
}


/* =========================================
   CONTENT
   ========================================= */

.gold-archive-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 18px 20px 20px;
}


/* TITLE */

.gold-archive-title {
    margin: 0 0 9px !important;

    font-family: "Inter Tight", sans-serif;

    font-size: 18px;

    line-height: 1.25;

    font-weight: 500;
}

.gold-archive-title a {
    color: #111;

    text-decoration: none;
}


/* PRICE */

.gold-archive-price {
    margin-bottom: 7px;

    font-family: "Inter Tight", sans-serif;

    font-size: 21px;

    line-height: 1.2;

    font-weight: 600;

    color: #111;
}

.gold-archive-price ins {
    text-decoration: none;
}

.gold-archive-price del {
    color: #999;

    font-size: 14px;

    font-weight: 400;
}


/* =========================================
   BUYBACK
   ========================================= */

.gold-archive-buyback {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 18px;

    padding: 8px 0;

    border-bottom: 1px solid #ededed;

    font-family: "Inter Tight", sans-serif;

    font-size: 13px;

    color: #777;
}

.gold-archive-buyback strong {
    color: #222;

    font-weight: 500;
}


/* =========================================
   CART
   ========================================= */

.gold-archive-cart {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 45px;

    margin-top: auto;

    background: #111;

    border-radius: 7px;

    color: #fff !important;

    font-family: "Inter Tight", sans-serif;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .04em;

    text-decoration: none !important;

    transition: background .2s ease;
}

.gold-archive-cart:hover {
    background: #8c7131;

    color: #fff !important;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .gold-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .gold-archive-image {
        height: 260px;
    }

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {

    .gold-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .gold-archive-image {
        height: 250px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .gold-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .gold-archive-image {
        height: 190px;

        padding: 8px 12px;
    }

    .gold-archive-content {
        padding: 12px;
    }

    .gold-archive-title {
        font-size: 15px;
    }

    .gold-archive-price {
        font-size: 17px;
    }

    .gold-archive-buyback {
        font-size: 11px;
    }

    .gold-archive-cart {
        min-height: 40px;

        font-size: 10px;
    }

}




/* =====================================================
   HIDE WOOLENTOR / AJAX "ITEM ADDED TO CART"
   ===================================================== */

/* Woolentor success messages */
.wl-notify,
.wl-notification,
.wl-message,
.wl-success,
.woolentor-notification,
.woolentor-notify,
.woolentor-message,
.woolentor-success,
.woolentor-cart-notification,
.woolentor-cart-message,
.woolentor-added-to-cart,

/* Common AJAX cart success containers */
.eael-notification,
.eael-woo-cart-notice,
.eael-cart-notice,
.eael-add-to-cart-notice,

/* Common toast containers */
.toast,
.toast-container,
.toast-message,
.notification,
.notification-message,
.success-notification,
.added-to-cart-notice {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}