/* RETAIL SHOP — V9 "Shop Premium Cannabis" design, server-rendered. Brand tabs +
   product cards. Ported from V9/canna-elite-shop.html, using the gold tokens. */
.ce-retail-shop { width: 100%; }
.ce-pagebox-retail {
	position: relative;
	max-width: 1240px; margin: 40px auto; padding: 40px 32px 70px;
	background: #000;
	border: 1px solid rgba(200,168,74,.25);
	border-radius: 0;
}
.ce-pagebox-retail::before {
	content: ''; position: absolute; inset: 10px;
	border: 1px solid rgba(200,168,74,.28);
	pointer-events: none;
	z-index: 2;
}
/* V9 stacking guard (matches .ce-pagebox): keeps the inset hairline from ever
   painting over content if a child is pushed tight to the panel edge. */
.ce-pagebox-retail > * { position: relative; z-index: 1; }

.ce-retail-shop .shop-page-hero { text-align: center; margin-bottom: 8px; }
.ce-retail-shop .section-label { font-family: 'Cinzel', serif; font-size: 10px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--ce-text-dim); display: block; margin-bottom: 10px; }
.ce-retail-shop .section-title { font-family: 'Cinzel Decorative', serif; font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 700; line-height: 1.15; margin: 0; }
.ce-retail-shop .section-title.gold-text { background: var(--ce-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ce-retail-shop .ornament { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 300px; margin: 16px auto 0; }
.ce-retail-shop .ornament-line { flex: 1; height: 1px; background: var(--ce-gold-grad-h); opacity: .6; }
.ce-retail-shop .ornament-center { color: var(--ce-gold-bright); font-size: 18px; opacity: .85; }

/* filter tabs */
.ce-retail-shop .ce-filters { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 34px 0 40px; border-bottom: 1px solid rgba(200,168,74,0.15); }
.ce-retail-shop .ce-filter-group { display: contents; }
.ce-retail-shop .ce-filter-btn { background: none; border: none; cursor: pointer; font-family: 'Cinzel', serif; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(232,200,96,.75); padding: 14px 22px; transition: color .2s; white-space: nowrap; position: relative; }
.ce-retail-shop .ce-filter-btn::after { content: ''; position: absolute; bottom: 0; left: 50%; right: 50%; height: 2px; background: linear-gradient(90deg,#c8a030,#f5e080,#c8a030); transition: left .25s ease, right .25s ease; }
.ce-retail-shop .ce-filter-btn:hover { color: var(--ce-gold-bright); }
.ce-retail-shop .ce-filter-btn.active { color: var(--ce-gold-hi); }
.ce-retail-shop .ce-filter-btn.active::after { left: 16px; right: 16px; }

/* product grid + cards */
.ce-retail-shop .ce-shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ce-retail-shop .ce-shop-card { background: #000; border: 1px solid rgba(200,168,74,0.15); overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; position: relative; display: flex; flex-direction: column; border-radius: 0; }
.ce-retail-shop .ce-shop-card:hover { border-color: rgba(200,168,74,0.5); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.7); }
.ce-retail-shop .ce-shop-card:hover .sc-line { transform: scaleX(1); }
.ce-retail-shop .ce-shop-card.hidden { display: none; }
.ce-retail-shop .sc-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,#4a3208,#c8a030,#f5e080,#c8a030,#4a3208); transform: scaleX(0); transition: transform .4s ease; z-index: 3; }
.ce-retail-shop .sc-img { position: relative; overflow: hidden; background: #060400; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.ce-retail-shop .sc-img > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ce-retail-shop .ce-shop-card:hover .sc-img > img { transform: scale(1.05); }
.ce-retail-shop .sc-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.ce-retail-shop .sc-fallback img { width: 70px; height: 70px; object-fit: contain; opacity: .32; }
.ce-retail-shop .sc-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ce-retail-shop .sc-brand { font-family: 'Cinzel', serif; font-size: 9px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--ce-text-dim); margin-bottom: 5px; }
.ce-retail-shop .sc-name { font-family: 'Cinzel', serif; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ce-gold-bright); margin-bottom: 6px; line-height: 1.3; }
.ce-retail-shop .sc-sub { font-family: 'Crimson Text', Georgia, serif; font-size: 14px; color: var(--ce-text-dim); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.ce-retail-shop .sc-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(200,168,74,0.1); margin-top: auto; }
.ce-retail-shop .sc-price { font-family: 'Cinzel', serif; font-size: 1.15rem; font-weight: 700; color: var(--ce-gold-bright); white-space: nowrap; }
.ce-retail-shop .sc-price .woocommerce-Price-amount { color: var(--ce-gold-bright); }
.ce-retail-shop .sc-price del { opacity: .55; }
.ce-retail-shop .sc-buy,
.ce-retail-shop a.sc-buy { display: inline-block; background: linear-gradient(135deg,#4a3208 0%,#c8a030 40%,#f5e080 50%,#c8a030 60%,#4a3208 100%); color: #000; border: none; border-radius: 0; padding: 10px 18px; font-family: 'Cinzel', serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: opacity .2s, transform .15s; white-space: nowrap; }
.ce-retail-shop .sc-buy:hover,
.ce-retail-shop a.sc-buy:hover { opacity: .9; transform: translateY(-1px); color: #000; }
.ce-retail-shop .ce-no-results { grid-column: 1/-1; text-align: center; padding: 70px 0; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ce-text-dim); }
@media (max-width: 760px) { .ce-retail-shop .ce-shop-grid { grid-template-columns: repeat(2,1fr); gap: 14px; } }
@media (max-width: 480px) { .ce-retail-shop .ce-shop-grid { grid-template-columns: 1fr; } }
