/* Course sales pages: Cyberbiz-style product layout around the imported originals. */
#course-detail { max-width: 1100px; margin-inline: auto; }
.sales-was { margin: -4px 0 8px; }
.sales-back { display: inline-block; margin: 8px 0 16px; }
.sales-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-bottom: 40px; }
.sales-gallery { flex: 1 1 360px; max-width: 520px; }
.sales-gallery > img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--brand-paper); }
.sales-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sales-thumbs button { padding: 0; border: 1px solid var(--brand-line); border-radius: 8px; background: none; width: 64px; height: 64px; overflow: hidden; cursor: pointer; }
.sales-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sales-info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.sales-info h1 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; }
.sales-brief { color: var(--brand-ink); }
.sales-brief .product_vendor_slogan { color: var(--brand-taupe); }
.sales-price { margin: 4px 0; font-size: 1.6rem; font-weight: 700; color: #b28247; }
.sales-price s { font-size: 1rem; font-weight: 400; color: var(--brand-taupe); }
.shop-variants { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px 16px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-paper); }
.shop-variants legend { padding: 0 6px; font-weight: 500; }
.shop-variants label { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.sales-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.sales-buy .action, .sales-buy button { min-height: 48px; padding: 12px 28px; }

/* Cyberbiz description tabs (desc_sections) and section headings */
.sales-description .desc_sections ul { display: flex; list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid var(--brand-line); border-radius: 10px; overflow: hidden; background: var(--brand-paper); }
.sales-description .desc_sections li { flex: 1; margin: 0; }
.sales-description .desc_sections li + li { border-left: 1px solid var(--brand-line); }
.sales-description .desc_sections a { display: block; padding: 14px 8px; text-align: center; color: var(--brand-ink); text-decoration: none; font-weight: 500; }
.sales-description .desc_sections a:hover { background: var(--brand-ground); }
.sales-description .desc_section { padding-top: 32px; scroll-margin-top: 16px; }
.sales-description .section-heading { margin: 0 0 16px; padding-left: 10px; border-left: 4px solid var(--brand-olive); font-size: 1.3rem; }
.sales-description .hidden { display: none; }

#course-detail {overflow-wrap:anywhere} .sales-info,.sales-gallery {min-width:0} .sales-top {column-gap:clamp(1rem,4vw,2rem)}
