/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* Shared Bricks typography and content grid */
:root{--bca-font:"DM Sans",Arial,sans-serif;--bca-content-width:1440px;--bca-gutter:clamp(20px,3vw,32px)}
body{font-family:var(--bca-font);font-size:16px;line-height:1.6;font-weight:400}
#brx-content h1,#brx-content h2,#brx-content h3,#brx-content h4,#brx-header h2,#brx-footer h3{font-family:var(--bca-font);font-weight:600;line-height:1.2;letter-spacing:-.025em}
#brx-content h1{font-size:clamp(32px,3.5vw,44px)}
#brx-content h2{font-size:clamp(26px,2.5vw,32px)}
#brx-content h3,#brx-footer h3{font-size:clamp(20px,1.8vw,22px)}
#brx-content h4{font-size:clamp(17px,1.5vw,18px)}
#brx-content #brxe-bbbbb6{font-family:Georgia,serif;font-style:italic;font-size:clamp(32px,4vw,44px)}
#brx-header #brxe-headac{font-size:26px}
#brx-header .brxe-nav-menu{font-family:var(--bca-font);font-size:15px;font-weight:500}
#brx-content .brxe-button,#brx-content .button,#brx-content .bca-view-artwork{font-family:var(--bca-font);font-size:14px;font-weight:500}
#brx-content .brxe-post-title,#brx-content .product [data-field-id="aab002"]{font-family:var(--bca-font);font-size:clamp(18px,1.6vw,20px);font-weight:500;line-height:1.3}
#brx-content .bca-price-row strong{font-size:15px}
#brx-content .brxe-section>.brxe-container,#brx-header .brxe-section>.brxe-container,#brx-footer .brxe-section>.brxe-container{width:100%;max-width:var(--bca-content-width);margin-inline:auto}
#brx-content .brxe-section,#brx-header .brxe-section,#brx-footer .brxe-section{padding-inline:var(--bca-gutter)}
@media(max-width:767px){#brx-content .bca-price-row strong{font-size:14px}}


/* Refined art-gallery typography */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');
body{font-weight:300;line-height:1.75}
#brx-content h1,#brx-content h2,#brx-content h3,#brx-content h4,#brx-header h2,#brx-footer h3{font-weight:400;letter-spacing:-.028em;line-height:1.25}
#brx-content h1{font-size:clamp(32px,3.2vw,43px)}
#brx-content h2{font-size:clamp(27px,2.6vw,37px)}
#brx-content h3,#brx-footer h3{font-size:clamp(19px,1.6vw,22px);font-weight:500}
#brx-content .brxe-section .brxe-text-basic{line-height:1.75}
#brx-content .brxe-button,#brx-content .button,#brx-content .bca-view-artwork{font-size:13px;font-weight:500;letter-spacing:.015em}
#brx-content .brxe-post-title,#brx-content .product [data-field-id="aab002"]{font-weight:400}
#brxe-bbbbb1.brxe-section{padding:0!important;width:100%;max-width:none}
#brxe-bbbbb1>.brxe-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#brxe-bbbbb3{width:100%;max-width:none}
#brxe-bbbbb4{min-width:0}
#brxe-cx0001{min-width:0;height:550px}
#brxe-cx0001 .swiper-wrapper,#brxe-cx0001 .swiper-slide{height:550px}
#brxe-cx0001 .swiper-slide .image{max-height:460px;height:460px;width:auto;max-width:74%;object-fit:contain}
#brx-content #brxe-bbbbb6{font-family:Georgia,serif;font-weight:400;font-size:clamp(40px,4.8vw,64px)}
#brxe-bbbb1p,#brxe-bbbb1x,#brxe-bbbb25{align-items:center}
#brxe-bbbb1q,#brxe-bbbb1z,#brxe-bbbb26{justify-content:center;gap:0}
#brxe-bbbb1r,#brxe-bbbb20,#brxe-bbbb27{font-weight:400!important;font-size:clamp(27px,2.8vw,38px)!important;line-height:1.26}
#brxe-bbbb2d .brxe-block>.brxe-image{display:block;overflow:hidden}
#brxe-bbbb2d .brxe-block>.brxe-image img{width:100%;height:245px;object-fit:cover}
@media(max-width:767px){
 #brxe-bbbbb3{grid-template-columns:minmax(0,1fr)!important}
 #brxe-cx0001,#brxe-cx0001 .swiper-wrapper,#brxe-cx0001 .swiper-slide{height:340px;min-height:340px}
 #brxe-cx0001 .swiper-slide .image{height:295px;max-height:295px}
 #brxe-bbbb1p,#brxe-bbbb1x,#brxe-bbbb25{grid-template-columns:minmax(0,1fr)!important}
 #brxe-bbbb1q,#brxe-bbbb1z,#brxe-bbbb26{min-height:0;padding:22px 4px 28px}
 #brxe-bbbb1u,#brxe-bbbb1y,#brxe-bbbb2a{height:310px}
}

/* Brian Crosby Art: reusable artwork price display */
.bca-product-prices.price{display:flex;flex-direction:column;gap:7px;margin:0;color:#302328}
.bca-price-row{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;line-height:1.4}
.bca-price-row .bca-price-label{font-size:13px;font-weight:500;color:#786b70}
.bca-price-row strong{font-size:15px;font-weight:650;white-space:nowrap;color:#782536}
.bca-price-row.bca-sold strong{color:#987e83}

/* Shop and archive artwork cards, built with the existing Bricks loop */
#brxe-dfbd9f{align-items:stretch}
#brxe-dfbd9f > .brxe-1636e9{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #eee8e5;border-radius:12px;overflow:hidden;padding:0 0 22px;box-shadow:0 8px 24px rgba(47,20,28,.055);transition:transform .22s ease,box-shadow .22s ease}
#brxe-dfbd9f > .brxe-1636e9:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(47,20,28,.12)}
#brxe-dfbd9f .brxe-8d2ce4.brxe-image{width:100%;height:280px;background:#faf8f6;display:flex;justify-content:center;align-items:center;overflow:hidden}
#brxe-dfbd9f .brxe-8d2ce4.brxe-image img{width:100%;height:100%;object-fit:contain}
#brxe-dfbd9f .brxe-post-title,#brxe-dfbd9f .brxe-product-price{margin-left:18px;margin-right:18px}
#brxe-dfbd9f .brxe-post-title{margin-top:16px;margin-bottom:10px}
#brxe-dfbd9f .brxe-post-title a{text-decoration:none;color:#292226}
#brxe-dfbd9f .brxe-product-price{margin-bottom:18px}
#brxe-dfbd9f .brxe-product-add-to-cart{margin: auto 18px 0}
#brxe-dfbd9f .brxe-product-add-to-cart a.button{display:inline-flex;align-items:center;justify-content:center;border-radius:25px;background:#922b3b;color:#fff;text-align:center;padding:12px 19px;text-decoration:none}
#brxe-dfbd9f .brxe-product-add-to-cart a.button:hover{background:#6d1b2a;color:#fff}
@media(max-width:767px){#brxe-dfbd9f .brxe-8d2ce4.brxe-image{height:245px}.bca-price-row{gap:4px 10px}}
