/* =========================================================
   PREMIUM GOLD, BLACK & WHITE PRODUCT SECTION
   Paste at the VERY BOTTOM of your CSS file
   ========================================================= */


/* 1. MAIN PRODUCT SECTION
--------------------------------------------------------- */

.product-wrapper {
    background: #ffffff !important;
    padding: 35px 25px !important;
    border-radius: 18px !important;
    margin-bottom: 40px !important;
    position: relative !important;
}


/* 2. SECTION HEADING
--------------------------------------------------------- */

.product-wrapper .title {
    color: #111111 !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: -0.8px !important;
    text-transform: uppercase !important;
    margin-bottom: 30px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #e8dfc8 !important;
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}

.product-wrapper .title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 95px !important;
    height: 4px !important;
    background: linear-gradient(
        90deg,
        #b8860b 0%,
        #f1d27a 50%,
        #b8860b 100%
    ) !important;
    border-radius: 5px !important;
}

.product-wrapper .title a {
    color: #a47b18 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.product-wrapper .title a:hover {
    color: #111111 !important;
}

.product-wrapper .title a i {
    margin-left: 7px !important;
    transition: transform 0.3s ease !important;
}

.product-wrapper .title a:hover i {
    transform: translateX(4px) !important;
}


/* 3. PRODUCT CARD
--------------------------------------------------------- */

.product-wrapper .product {
    background: #ffffff !important;
    border: 1px solid #eee8dc !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    height: 100% !important;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035) !important;
}

.product-wrapper .product:hover {
    transform: translateY(-7px) !important;
    border-color: #d4b15a !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10) !important;
}


/* 4. PRODUCT IMAGE AREA
--------------------------------------------------------- */

.product-wrapper .product-media {
    position: relative !important;
    overflow: hidden !important;
    background: #f8f7f3 !important;
    margin: 0 !important;
    border-radius: 13px 13px 0 0 !important;
}

.product-wrapper .product-media > a {
    display: block !important;
    overflow: hidden !important;
    background: #f8f7f3 !important;
}

.product-wrapper .product-media img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 280 / 315 !important;
    object-fit: cover !important;
    display: block !important;
    background-color: #f8f7f3 !important;
    transition: transform 0.65s ease !important;
}

.product-wrapper .product:hover .product-media img {
    transform: scale(1.06) !important;
}


/* 5. PRODUCT BADGES
--------------------------------------------------------- */

.product-wrapper .product-label-group {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
}

.product-wrapper .product-label {
    display: inline-block !important;
    padding: 7px 11px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

.product-wrapper .label-sale {
    background: #111111 !important;
    color: #e8c66a !important;
}

.product-wrapper .label-new {
    background: linear-gradient(
        135deg,
        #f5df9a,
        #c49a35
    ) !important;
    color: #111111 !important;
}


/* 6. VERTICAL ACTION BUTTONS
--------------------------------------------------------- */

.product-wrapper .product-action-vertical {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 6 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
}

.product-wrapper .btn-product-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 39px !important;
    height: 39px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #e7dfcf !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.product-wrapper .btn-product-icon i {
    font-size: 16px !important;
}

.product-wrapper .btn-product-icon:hover {
    background: #111111 !important;
    color: #e8c66a !important;
    border-color: #111111 !important;
    transform: scale(1.08) !important;
}


/* 7. VIEW BUTTON
--------------------------------------------------------- */

.product-wrapper .product-action {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 5 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
}

.product-wrapper .product:hover .product-action {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.product-wrapper .product-action .btn-product {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 43px !important;
    padding: 12px 15px !important;
    background: #111111 !important;
    color: #f1d27a !important;
    border: 1px solid #d4af52 !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.3px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.product-wrapper .product-action .btn-product:hover {
    background: linear-gradient(
        135deg,
        #f5df9a,
        #c49a35
    ) !important;
    color: #111111 !important;
    border-color: #c49a35 !important;
}


/* 8. PRODUCT DETAILS
--------------------------------------------------------- */

.product-wrapper .product-details {
    padding: 20px 15px 22px !important;
    text-align: center !important;
    background: #ffffff !important;
}


/* 9. CATEGORY NAME
--------------------------------------------------------- */

.product-wrapper .product-cat {
    margin-bottom: 9px !important;
}

.product-wrapper .product-cat a {
    color: #a47b18 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.product-wrapper .product-cat a:hover {
    color: #111111 !important;
}


/* 10. PRODUCT NAME
--------------------------------------------------------- */

.product-wrapper .product-name {
    margin: 0 0 13px !important;
    min-height: 42px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.1px !important;
}

.product-wrapper .product-name a {
    color: #171717 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.product-wrapper .product-name a:hover {
    color: #a47b18 !important;
}


/* 11. PRODUCT PRICE
--------------------------------------------------------- */

.product-wrapper .product-price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 0 12px !important;
}

.product-wrapper .product-price .price,
.product-wrapper .product-price .new-price {
    color: #a47b18 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    text-decoration: none !important;
}

.product-wrapper .product-price .old-price {
    color: #999999 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}


/* 12. RATINGS
--------------------------------------------------------- */

.product-wrapper .ratings-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 8px !important;
}

.product-wrapper .ratings-full {
    position: relative !important;
    display: inline-block !important;
    color: #dedede !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
}

.product-wrapper .ratings-full::before {
    color: #dedede !important;
}

.product-wrapper .ratings-full .ratings {
    color: #c49a35 !important;
}


/* 13. GO TO SHOP BUTTON
--------------------------------------------------------- */

.product-wrapper .nav-btn.next-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 15px 32px !important;
    background: #111111 !important;
    color: #f1d27a !important;
    border: 1px solid #c49a35 !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}

.product-wrapper .nav-btn.next-btn:hover {
    background: linear-gradient(
        135deg,
        #f5df9a,
        #c49a35
    ) !important;
    color: #111111 !important;
    border-color: #c49a35 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.13) !important;
}


/* 14. PRODUCT GRID SPACING
--------------------------------------------------------- */

.product-wrapper .row.gutter-xs {
    row-gap: 8px !important;
}

.product-wrapper .row.gutter-xs > [class*="col-"] {
    margin-bottom: 20px !important;
}


/* 15. TABLET RESPONSIVENESS
--------------------------------------------------------- */

@media (max-width: 991px) {

    .product-wrapper {
        padding: 25px 15px !important;
    }

    .product-wrapper .title {
        font-size: 25px !important;
    }

    .product-wrapper .product-details {
        padding: 17px 10px 19px !important;
    }

    .product-wrapper .product-name {
        font-size: 14px !important;
    }

    .product-wrapper .product-price .price,
    .product-wrapper .product-price .new-price {
        font-size: 17px !important;
    }

}


/* 16. MOBILE RESPONSIVENESS
--------------------------------------------------------- */

@media (max-width: 575px) {

    .product-wrapper {
        padding: 20px 10px !important;
        border-radius: 12px !important;
    }

    .product-wrapper .title {
        font-size: 20px !important;
        letter-spacing: -0.4px !important;
        margin-bottom: 22px !important;
        padding-bottom: 15px !important;
        gap: 8px !important;
    }

    .product-wrapper .title::after {
        width: 65px !important;
        height: 3px !important;
    }

    .product-wrapper .title a {
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }

    .product-wrapper .title a i {
        margin-left: 3px !important;
    }

    .product-wrapper .product {
        border-radius: 10px !important;
    }

    .product-wrapper .product-media {
        border-radius: 9px 9px 0 0 !important;
    }

    .product-wrapper .product-label-group {
        top: 8px !important;
        left: 8px !important;
        gap: 5px !important;
    }

    .product-wrapper .product-label {
        padding: 5px 7px !important;
        font-size: 8px !important;
        letter-spacing: 0.5px !important;
    }

    .product-wrapper .product-action-vertical {
        top: 8px !important;
        right: 8px !important;
        gap: 6px !important;
    }

    .product-wrapper .btn-product-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .product-wrapper .btn-product-icon i {
        font-size: 13px !important;
    }

    .product-wrapper .product-details {
        padding: 13px 7px 15px !important;
    }

    .product-wrapper .product-cat {
        margin-bottom: 6px !important;
    }

    .product-wrapper .product-cat a {
        font-size: 8px !important;
        letter-spacing: 0.8px !important;
    }

    .product-wrapper .product-name {
        font-size: 12px !important;
        line-height: 1.45 !important;
        min-height: 35px !important;
        margin-bottom: 9px !important;
    }

    .product-wrapper .product-price {
        gap: 5px !important;
        margin-bottom: 8px !important;
    }

    .product-wrapper .product-price .price,
    .product-wrapper .product-price .new-price {
        font-size: 15px !important;
    }

    .product-wrapper .product-price .old-price {
        font-size: 10px !important;
    }

    .product-wrapper .ratings-full {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }

    .product-wrapper .product-action {
        display: none !important;
    }

    .product-wrapper .nav-btn.next-btn {
        padding: 13px 23px !important;
        font-size: 10px !important;
    }

}


/* 17. ACCESSIBILITY: REDUCE MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .product-wrapper *,
    .product-wrapper *::before,
    .product-wrapper *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}


/* =========================================================
   PREMIUM LUXURY PRODUCT WIDGETS
   GOLD + BLACK + WHITE DESIGN
   Paste at the bottom of your CSS file
   ========================================================= */


/* 1. MAIN SECTION
--------------------------------------------------------- */

.mb-3:has(> .row > [class*="col-"] .widget-products) {
    margin-top: 35px !important;
    margin-bottom: 45px !important;
}


/* 2. PRODUCT WIDGET CARD
--------------------------------------------------------- */

.widget-products {
    background: #ffffff !important;
    border: 1px solid #eee7d9 !important;
    border-radius: 14px !important;
    padding: 24px 20px 18px !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.035) !important;
    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease !important;
}


/* Luxury gold top border */

.widget-products::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(
        90deg,
        #a47b18 0%,
        #f1d27a 50%,
        #a47b18 100%
    ) !important;
    opacity: 0.9 !important;
    transition: height 0.3s ease !important;
}


.widget-products:hover {
    border-color: #d4b15a !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.075) !important;
    transform: translateY(-4px) !important;
}

.widget-products:hover::before {
    height: 5px !important;
}


/* 3. WIDGET HEADINGS
--------------------------------------------------------- */

.widget-products .widget-title {
    color: #111111 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
    margin: 0 0 22px !important;
    padding: 0 0 15px !important;
    position: relative !important;
    border-bottom: 1px solid #eee8dc !important;
    line-height: 1.4 !important;
}


/* Gold accent below each heading */

.widget-products .widget-title::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -1px !important;
    width: 55px !important;
    height: 3px !important;
    background: linear-gradient(
        90deg,
        #a47b18,
        #e8c66a
    ) !important;
    border-radius: 5px !important;
}


/* 4. PRODUCT LIST
--------------------------------------------------------- */

.widget-products .products-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}


/* 5. INDIVIDUAL PRODUCT ROW
--------------------------------------------------------- */

.widget-products .product-list-sm {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid #f0ece4 !important;
    border-radius: 0 !important;
    transition:
        background 0.3s ease,
        padding 0.3s ease !important;
}


/* Remove border from last product */

.widget-products .product-list-sm:last-child {
    border-bottom: none !important;
    padding-bottom: 5px !important;
}


/* 6. PRODUCT IMAGE CONTAINER
--------------------------------------------------------- */

.widget-products .product-list-sm .product-media {
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 88px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 9px !important;
    background: #f8f6f0 !important;
    border: 1px solid #eee7d9 !important;
    position: relative !important;
}


/* 7. PRODUCT IMAGE
--------------------------------------------------------- */

.widget-products .product-list-sm .product-media a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}


.widget-products .product-list-sm .product-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    background: #f8f6f0 !important;
    transition: transform 0.5s ease !important;
}


.widget-products .product-list-sm:hover .product-media img {
    transform: scale(1.08) !important;
}


/* 8. PRODUCT INFORMATION
--------------------------------------------------------- */

.widget-products .product-list-sm .product-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
}


/* 9. PRODUCT TITLE
--------------------------------------------------------- */

.widget-products .product-list-sm .product-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    letter-spacing: 0.1px !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    overflow-wrap: anywhere !important;
}


.widget-products .product-list-sm .product-name a {
    color: #222222 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}


.widget-products .product-list-sm .product-name a:hover {
    color: #a47b18 !important;
}


/* 10. PRODUCT PRICE
--------------------------------------------------------- */

.widget-products .product-list-sm .product-price {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}


.widget-products .product-list-sm .product-price .price {
    color: #a47b18 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
}


/* 11. RESPONSIVE TABLET DESIGN
--------------------------------------------------------- */

@media (max-width: 991px) {

    .widget-products {
        padding: 20px 15px 15px !important;
    }

    .widget-products .widget-title {
        font-size: 17px !important;
        margin-bottom: 18px !important;
    }

    .widget-products .product-list-sm {
        gap: 11px !important;
        padding: 12px 0 !important;
    }

    .widget-products .product-list-sm .product-media {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 76px !important;
    }

    .widget-products .product-list-sm .product-name {
        font-size: 12px !important;
    }

    .widget-products .product-list-sm .product-price .price {
        font-size: 14px !important;
    }

}


/* 12. MOBILE DESIGN
--------------------------------------------------------- */

@media (max-width: 575px) {

    .widget-products {
        padding: 19px 15px 15px !important;
        border-radius: 12px !important;
        margin-bottom: 5px !important;
    }

    .widget-products .widget-title {
        font-size: 17px !important;
        letter-spacing: 0.3px !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .widget-products .widget-title::after {
        width: 45px !important;
    }

    .widget-products .products-col {
        gap: 0 !important;
    }

    .widget-products .product-list-sm {
        gap: 13px !important;
        padding: 13px 0 !important;
    }

    .widget-products .product-list-sm .product-media {
        flex: 0 0 78px !important;
        width: 78px !important;
        height: 78px !important;
        border-radius: 8px !important;
    }

    .widget-products .product-list-sm .product-name {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 7px !important;
    }

    .widget-products .product-list-sm .product-price .price {
        font-size: 15px !important;
    }

}


/* 13. EXTRA SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 360px) {

    .widget-products {
        padding: 16px 11px 12px !important;
    }

    .widget-products .product-list-sm {
        gap: 10px !important;
    }

    .widget-products .product-list-sm .product-media {
        flex: 0 0 68px !important;
        width: 68px !important;
        height: 68px !important;
    }

    .widget-products .product-list-sm .product-name {
        font-size: 11px !important;
    }

    .widget-products .product-list-sm .product-price .price {
        font-size: 13px !important;
    }

}


/* 14. ACCESSIBILITY
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .widget-products,
    .widget-products *,
    .widget-products *::before,
    .widget-products *::after {
        animation: none !important;
        transition: none !important;
    }

}