/**
 * Studio Moncada — Shop listing only (/product)
 * Landing-style full-width product grid
 */

body.page-studio-shop {
    background-color: #F5F0EB;
}

/* Shop hero — mockup header */
body.page-studio-shop .sm-shop-hero {
    background: #F5F0EB;
    padding: 40px 0 8px;
    border-bottom: none;
}

body.page-studio-shop .sm-shop-hero-kicker {
    font-family: 'Inter', var(--sm-font-body), system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8A8278;
    margin: 0 0 10px;
}

body.page-studio-shop .sm-shop-hero-title {
    font-family: 'Playfair Display', var(--sm-font-display), Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3C3530;
    margin: 0 0 12px;
    line-height: 1.1;
}

body.page-studio-shop .sm-shop-hero-copy {
    font-family: 'Inter', var(--sm-font-body), system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #6B635C;
    max-width: 520px;
    margin: 0;
}

body.page-studio-shop .sm-shop-page .toolbox-wrapper {
    display: none !important;
}

body.page-studio-shop .sm-shop-footer-cta {
    margin: 40px 0 8px;
}

body.page-studio-shop .sm-shop-view-all-btn {
    display: inline-block;
    font-family: 'Inter', var(--sm-font-body), system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3C3530 !important;
    text-decoration: none !important;
    border: 1px solid #3C3530;
    padding: 16px 40px;
    min-width: 240px;
    transition: background 0.2s ease, color 0.2s ease;
}

body.page-studio-shop .sm-shop-view-all-btn:hover {
    background: #3C3530;
    color: #F5F0EB !important;
}

body.page-studio-shop .breadcrumb-area {
    display: none !important;
}

/* Full-width shop layout */
body.page-studio-shop .sm-shop-page {
    background: #F5F0EB;
    padding: 40px 0 72px;
}

body.page-studio-shop .sm-shop-page > .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 56px);
    padding-right: clamp(16px, 3vw, 56px);
}

body.page-studio-shop .sm-shop-page > .container-fluid > .row {
    margin-left: -12px;
    margin-right: -12px;
}

body.page-studio-shop .sm-shop-page > .container-fluid > .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

/* Toolbox — keep horizontal, not affected by product grid flex */
body.page-studio-shop .sm-shop-page .toolbox-wrapper {
    background: #FFFFFF;
    border: 1px solid #D8CFC4;
    padding: 14px 20px;
    margin-bottom: 28px;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.page-studio-shop .sm-shop-page .toolbox-wrapper label,
body.page-studio-shop .sm-shop-page .toolbox-wrapper .select-box {
    font-family: var(--sm-font-body);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #6B635C;
}

body.page-studio-shop .sm-shop-page .toolbox-wrapper .layout-list a {
    color: #6B635C;
    border: 1px solid #D8CFC4;
    padding: 8px 12px;
    display: inline-block;
}

body.page-studio-shop .sm-shop-page .toolbox-wrapper .layout-list a.current {
    background: #3C3530;
    color: #F5F0EB !important;
    border-color: #3C3530;
}

/* Sidebar */
body.page-studio-shop .sm-shop-page .widget-area-wrapper {
    background: #FFFFFF;
    border: 1px solid #D8CFC4;
    padding: 24px 20px;
}

body.page-studio-shop .sm-shop-page .widget-area-wrapper .widget-title {
    font-family: var(--sm-font-body) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #3C3530 !important;
    border-bottom: 1px solid #E8E0D8;
    padding-bottom: 12px;
    margin-bottom: 16px !important;
}

body.page-studio-shop .sm-shop-page .widget-check-box .checkmark {
    font-family: var(--sm-font-body);
    font-size: 14px;
    color: #6B635C;
}

/* Product grid — landing-style cards (scoped to product row only) */
body.page-studio-shop .sm-shop-page .sm-product-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

body.page-studio-shop .sm-shop-page .sm-product-grid > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}

body.page-studio-shop .sm-shop-page .single-product-item,
body.page-studio-shop .sm-shop-page .single-new-design-wrapper.single-product-item {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    height: 100%;
    background: #FFFFFF !important;
    border: 1px solid #C9BFB4 !important;
    box-shadow: 0 8px 28px rgba(60, 53, 48, 0.05) !important;
    position: relative;
}

body.page-studio-shop .sm-shop-page .single-product-item > .product-img-box {
    display: contents !important;
}

body.page-studio-shop .sm-shop-page .product-img-box > a {
    grid-row: 1;
    grid-column: 1;
    display: block !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    width: 100% !important;
}

body.page-studio-shop .sm-shop-page .product-img-box > .sale,
body.page-studio-shop .sm-shop-page .product-img-box > .discount-tag {
    grid-row: 1;
    grid-column: 1;
    z-index: 4;
    align-self: start;
    justify-self: start;
    margin: 10px;
    pointer-events: none;
}

body.page-studio-shop .sm-shop-page .product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.page-studio-shop .sm-shop-page .product-details-wrap {
    grid-row: 2;
    text-align: center;
    padding: 14px 12px 6px !important;
}

body.page-studio-shop .sm-shop-page .product-details-wrap .product-title,
body.page-studio-shop .sm-shop-page .product-details-wrap .product-title a {
    font-family: var(--sm-font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em;
    color: #3C3530 !important;
    line-height: 1.35;
    min-height: 2.4em;
    margin-bottom: 4px;
}

body.page-studio-shop .sm-shop-page .product-details-wrap .product-price-details {
    justify-content: center !important;
    margin-top: 0 !important;
}

body.page-studio-shop .sm-shop-page .product-details-wrap .price {
    color: #3C3530 !important;
    font-family: var(--sm-font-body);
    font-size: 15px;
}

body.page-studio-shop .sm-shop-page .product-details-wrap .price del {
    color: #8A8278 !important;
}

/* Icon bar — cart left, actions right (matches landing) */
body.page-studio-shop .sm-shop-page .product-img-box .hover {
    grid-row: 3;
    grid-column: 1;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    background: #FAF8F5 !important;
    border-top: 1px solid #E5DDD4;
    padding: 10px 14px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    transition: none !important;
}

body.page-studio-shop .sm-shop-page .single-product-item:hover .product-img-box .hover {
    transform: none !important;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover .left,
body.page-studio-shop .sm-shop-page .product-img-box .hover .right {
    width: auto;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover .left ul,
body.page-studio-shop .sm-shop-page .product-img-box .hover .right ul {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover .right ul {
    justify-content: flex-end;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover .left ul li,
body.page-studio-shop .sm-shop-page .product-img-box .hover .right ul li {
    margin: 0 !important;
    display: inline-flex;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover a {
    font-size: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #D8CFC4;
    border-radius: 50%;
    background: #FFFFFF;
    color: #3C3530 !important;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover a:hover {
    border-color: #3C3530;
    color: #3C3530 !important;
    background: #F5F0EB;
}

body.page-studio-shop .sm-shop-page .product-img-box .hover a i,
body.page-studio-shop .sm-shop-page .product-img-box .hover a .icon {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #3C3530 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Pagination */
body.page-studio-shop .sm-shop-page .pagination-default .page-link,
body.page-studio-shop .sm-shop-page .pagination .page-link {
    font-family: var(--sm-font-body);
    color: #3C3530;
    border-color: #D8CFC4;
}

body.page-studio-shop .sm-shop-page .pagination .active .page-link {
    background: #3C3530 !important;
    border-color: #3C3530 !important;
}

body.page-studio-shop .sm-shop-page .alert-danger {
    font-family: var(--sm-font-body);
    background: #FFFFFF !important;
    border: 1px solid #D8CFC4 !important;
    color: #3C3530 !important;
}

@media (max-width: 991px) {
    body.page-studio-shop .sm-shop-page .widget-area-wrapper {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    body.page-studio-shop .sm-shop-page > .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-studio-shop .sm-shop-page .sm-product-grid > [class*="col-"] {
        margin-bottom: 20px;
    }
}
