/* ==========================================================================
   ANTIGRAVITY DESIGN SYSTEM — Bronze Maroc Pro
   Semantic CSS classes converted from Tailwind CDN utility classes.
   All classes prefixed with .bm- to avoid Elementor conflicts.
   ========================================================================== */

/* ==========================================================================
   1. TYPOGRAPHY
   ========================================================================== */

.bm-font-headline { font-family: var(--bm-font-headline); }
.bm-font-body     { font-family: var(--bm-font-body); }
.bm-font-label    { font-family: var(--bm-font-label); }

.bm-text-xs   { font-size: 0.625rem; line-height: 1rem; }
.bm-text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.bm-text-base { font-size: 1rem; line-height: 1.5rem; }
.bm-text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.bm-text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
.bm-text-2xl  { font-size: 1.5rem; line-height: 2rem; }
.bm-text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.bm-text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }
.bm-text-5xl  { font-size: 3rem; line-height: 1.15; }
.bm-text-6xl  { font-size: 3.75rem; line-height: 1.1; }
.bm-text-7xl  { font-size: 4.5rem; line-height: 1.05; }

.bm-font-light    { font-weight: 300; }
.bm-font-normal   { font-weight: 400; }
.bm-font-medium   { font-weight: 500; }
.bm-font-semibold { font-weight: 600; }
.bm-font-bold     { font-weight: 700; }

.bm-italic     { font-style: italic; }
.bm-not-italic { font-style: normal; }

.bm-tracking-tight    { letter-spacing: -0.025em; }
.bm-tracking-normal   { letter-spacing: 0; }
.bm-tracking-wide     { letter-spacing: 0.025em; }
.bm-tracking-wider    { letter-spacing: 0.05em; }
.bm-tracking-widest   { letter-spacing: 0.1em; }
.bm-tracking-ultra    { letter-spacing: 0.2em; }
.bm-tracking-extreme  { letter-spacing: 0.3em; }

.bm-leading-none      { line-height: 1; }
.bm-leading-tight     { line-height: 1.25; }
.bm-leading-snug      { line-height: 1.375; }
.bm-leading-normal    { line-height: 1.5; }
.bm-leading-relaxed   { line-height: 1.625; }
.bm-leading-loose     { line-height: 2; }

.bm-uppercase  { text-transform: uppercase; }
.bm-lowercase  { text-transform: lowercase; }
.bm-capitalize { text-transform: capitalize; }

/* ==========================================================================
   2. COLOR UTILITIES
   ========================================================================== */

/* Text Colors */
.bm-text-primary           { color: var(--bm-primary); }
.bm-text-primary-container { color: var(--bm-primary-container); }
.bm-text-on-primary        { color: var(--bm-on-primary); }
.bm-text-on-primary-container { color: var(--bm-on-primary-container); }
.bm-text-secondary         { color: var(--bm-secondary); }
.bm-text-tertiary          { color: var(--bm-tertiary); }
.bm-text-on-tertiary       { color: var(--bm-on-tertiary); }
.bm-text-on-surface        { color: var(--bm-on-surface); }
.bm-text-on-surface-variant { color: var(--bm-on-surface-variant); }
.bm-text-on-background     { color: var(--bm-on-background); }
.bm-text-outline           { color: var(--bm-outline); }
.bm-text-white             { color: #ffffff; }
.bm-text-error             { color: var(--bm-error); }

/* Background Colors */
.bm-bg-surface                { background-color: var(--bm-surface); }
.bm-bg-surface-container-lowest { background-color: var(--bm-surface-container-lowest); }
.bm-bg-surface-container-low  { background-color: var(--bm-surface-container-low); }
.bm-bg-surface-container      { background-color: var(--bm-surface-container); }
.bm-bg-surface-container-high { background-color: var(--bm-surface-container-high); }
.bm-bg-surface-container-highest { background-color: var(--bm-surface-container-highest); }
.bm-bg-primary                { background-color: var(--bm-primary); }
.bm-bg-primary-container      { background-color: var(--bm-primary-container); }
.bm-bg-tertiary               { background-color: var(--bm-tertiary); }
.bm-bg-tertiary-container     { background-color: var(--bm-tertiary-container); }
.bm-bg-secondary-container    { background-color: var(--bm-secondary-container); }
.bm-bg-error                  { background-color: var(--bm-error); }
.bm-bg-white                  { background-color: #ffffff; }

/* Border Colors */
.bm-border-primary          { border-color: var(--bm-primary); }
.bm-border-tertiary         { border-color: var(--bm-tertiary); }
.bm-border-outline          { border-color: var(--bm-outline); }
.bm-border-outline-variant  { border-color: var(--bm-outline-variant); }
.bm-border-surface          { border-color: var(--bm-surface-container-highest); }

/* ==========================================================================
   3. LAYOUT SYSTEM
   ========================================================================== */

.bm-container {
    width: 100%;
    max-width: var(--bm-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--bm-container-padding);
    padding-right: var(--bm-container-padding);
}

.bm-container-full {
    width: 100%;
    padding-left: var(--bm-container-padding);
    padding-right: var(--bm-container-padding);
}

.bm-layout-boxed .bm-site-content {
    max-width: var(--bm-container-width);
    margin-left: auto;
    margin-right: auto;
}

.bm-layout-full-width .bm-site-content {
    max-width: 100%;
}

/* ==========================================================================
   4. COMPONENTS — HEADER
   ========================================================================== */

.bm-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(254, 249, 234, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all var(--bm-transition-base);
}

.dark .bm-header {
    background-color: rgba(29, 28, 19, 0.8);
}

.bm-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
}

.bm-logo {
    font-family: var(--bm-font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bm-primary);
    font-style: italic;
    text-decoration: none;
}

.bm-logo img {
    max-height: 40px;
    width: auto;
}

.dark .bm-logo {
    color: #fed7aa; /* orange-200 */
}

.bm-nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .bm-nav { display: flex; }
}

.bm-nav__link {
    font-family: var(--bm-font-headline);
    font-size: 1.125rem;
    letter-spacing: -0.025em;
    color: var(--bm-on-surface-variant);
    transition: color var(--bm-transition-base);
    text-decoration: none;
}

.bm-nav__link:hover,
.bm-nav__link:focus {
    color: var(--bm-primary);
}

.bm-nav__link--active {
    color: var(--bm-primary);
    border-bottom: 2px solid var(--bm-tertiary);
    padding-bottom: 0.25rem;
    font-weight: 700;
}

.bm-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--bm-primary);
}

.dark .bm-header__actions {
    color: #fed7aa;
}

.bm-header__btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 1;
    transition: opacity var(--bm-transition-base);
    color: inherit;
    position: relative;
}

.bm-header__btn:hover {
    opacity: 0.8;
}

.bm-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--bm-tertiary);
    color: var(--bm-on-tertiary);
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.bm-hamburger {
    display: block;
    color: inherit;
}

@media (min-width: 768px) {
    .bm-hamburger { display: none; }
}
/* ── Header & Navigation ────────────────────────────── */
.zellige-pattern {
    background-color: transparent;
    background-image: radial-gradient(var(--bm-primary) 0.5px, transparent 0.5px), radial-gradient(var(--bm-primary) 0.5px, var(--bm-surface) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

#bm-mobile-menu-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    opacity: 0.05;
    z-index: -1;
}

#bm-search-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--bm-primary) 0.5px, transparent 0.5px), radial-gradient(var(--bm-primary) 0.5px, var(--bm-surface) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
    z-index: -1;
}

/* 🏁 Final Polish */
nav.fixed {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu */
.bm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bm-surface);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform var(--bm-transition-base);
}

.bm-mobile-menu.is-open {
    transform: translateX(0);
}

.bm-mobile-menu__link {
    font-family: var(--bm-font-headline);
    font-size: 2rem;
    color: var(--bm-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--bm-outline-variant);
    display: block;
}

/* ==========================================================================
   5. COMPONENTS — FOOTER
   ========================================================================== */

.bm-footer {
    background-color: #1c1917; /* stone-900 */
    color: #f5f5f4; /* stone-100 */
    margin-top: 5rem;
}

.dark .bm-footer {
    background-color: #000000;
}

.bm-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .bm-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bm-footer__brand-name {
    font-family: var(--bm-font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fed7aa; /* orange-200 */
}

.bm-footer__text {
    font-family: var(--bm-font-body);
    font-size: 0.875rem;
    color: #a8a29e; /* stone-400 */
    line-height: 1.625;
    max-width: 20rem;
}

.bm-footer__heading {
    font-family: var(--bm-font-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fed7aa;
    margin-bottom: 0.5rem;
}

.bm-footer__link {
    color: #a8a29e;
    font-family: var(--bm-font-headline);
    font-size: 0.875rem;
    transition: all var(--bm-transition-base);
    display: block;
    padding: 0.25rem 0;
    text-decoration: none;
}

.bm-footer__link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.bm-footer__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bm-footer__bottom {
    padding: 2rem 3rem;
    border-top: 1px solid #292524; /* stone-800 */
}

.bm-footer__copyright {
    font-family: var(--bm-font-headline);
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

/* Footer Newsletter */
.bm-footer__newsletter {
    display: flex;
    gap: 0;
}

.bm-footer__newsletter input {
    flex: 1;
    background-color: #292524;
    border: none;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: var(--bm-font-label);
}

.bm-footer__newsletter input::placeholder {
    color: #57534e;
}

.bm-footer__newsletter input:focus {
    outline: none;
    box-shadow: 0 0 0 1px #fed7aa;
}

.bm-footer__newsletter button {
    background-color: #fed7aa;
    color: #1c1917;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-family: var(--bm-font-label);
    cursor: pointer;
    border: none;
    transition: background-color var(--bm-transition-base);
}

.bm-footer__newsletter button:hover {
    background-color: #ffffff;
}

/* ==========================================================================
   6. COMPONENTS — HERO SECTION
   ========================================================================== */

.bm-hero {
    position: relative;
    min-height: 921px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(29, 28, 19, 0.4), transparent);
}

.bm-hero__content {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    max-width: 56rem;
}

@media (min-width: 768px) {
    .bm-hero__content { padding: 0 4rem; }
}

@media (min-width: 1024px) {
    .bm-hero__content { padding: 0 6rem; }
}

.bm-hero__title {
    font-family: var(--bm-font-headline);
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .bm-hero__title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .bm-hero__title { font-size: 4.5rem; }
}

.bm-hero__cta {
    display: inline-block;
    background: var(--bm-gradient-bronze);
    color: var(--bm-on-primary);
    font-family: var(--bm-font-label);
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform var(--bm-transition-base);
    box-shadow: var(--bm-shadow-lg);
    text-decoration: none;
}

.bm-hero__cta:hover {
    transform: scale(1.05);
    color: var(--bm-on-primary);
}

.bm-hero__cta:active {
    transform: scale(0.95);
}

/* ==========================================================================
   7. COMPONENTS — SECTION HEADERS
   ========================================================================== */

.bm-section-label {
    color: var(--bm-tertiary);
    font-family: var(--bm-font-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.bm-section-title {
    font-family: var(--bm-font-headline);
    font-size: 1.875rem;
    color: var(--bm-primary);
}

@media (min-width: 768px) {
    .bm-section-title { font-size: 3rem; }
}

.bm-section-link {
    color: var(--bm-tertiary);
    font-family: var(--bm-font-headline);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(144, 70, 63, 0.3);
    padding-bottom: 0.25rem;
    transition: border-color var(--bm-transition-base);
    text-decoration: none;
}

.bm-section-link:hover {
    border-color: var(--bm-tertiary);
    color: var(--bm-tertiary);
}

/* ==========================================================================
   8. COMPONENTS — PRODUCT CARDS
   ========================================================================== */

.bm-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .bm-product-grid { grid-template-columns: repeat(3, 1fr); }
}

.bm-product-grid--shop {
    gap: 2rem 2rem;
}

@media (min-width: 768px) {
    .bm-product-grid--shop { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .bm-product-grid--shop { grid-template-columns: repeat(3, 1fr); }
}

.bm-product-card {
    position: relative;
}

.bm-product-card__image-wrap {
    aspect-ratio: 4 / 5;
    background-color: var(--bm-surface-container-lowest);
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: var(--bm-border-radius-xl);
}

.bm-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bm-transition-slower);
}

.bm-product-card:hover .bm-product-card__image {
    transform: scale(1.05);
}

.bm-product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--bm-tertiary);
    color: var(--bm-on-tertiary);
    padding: 0.25rem 0.75rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    z-index: 5;
}

.bm-product-card__quick-add {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    transform: translateY(3rem);
    opacity: 0;
    transition: all var(--bm-transition-base);
    background-color: var(--bm-surface-container-lowest);
    padding: 0.75rem;
    box-shadow: var(--bm-shadow-sm);
    cursor: pointer;
    border: none;
    color: inherit;
}

.bm-product-card__quick-add:hover {
    background-color: var(--bm-primary);
    color: var(--bm-on-primary);
}

.bm-product-card:hover .bm-product-card__quick-add {
    transform: translateY(0);
    opacity: 1;
}

.bm-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bm-product-card__name {
    font-family: var(--bm-font-headline);
    font-size: 1.25rem;
    color: var(--bm-primary);
}

.bm-product-card__desc {
    font-family: var(--bm-font-body);
    font-size: 0.875rem;
    color: var(--bm-on-surface-variant);
}

.bm-product-card__price {
    font-family: var(--bm-font-label);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bm-primary-container);
    margin-top: 1rem;
}

/* ==========================================================================
   9. COMPONENTS — CATEGORY GRID (BENTO)
   ========================================================================== */

.bm-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 600px;
}

@media (min-width: 768px) {
    .bm-category-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.bm-category-card {
    position: relative;
    overflow: hidden;
    background-color: var(--bm-surface-container-low);
    border-radius: var(--bm-border-radius-lg);
}

.bm-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform var(--bm-transition-slower);
}

.bm-category-card:hover img {
    transform: scale(1.05);
}

.bm-category-card__content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 5;
}

.bm-category-card__title {
    font-family: var(--bm-font-headline);
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.bm-category-card__link {
    color: #ffffff;
    font-family: var(--bm-font-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 0.25rem;
    text-decoration: none;
}

/* ==========================================================================
   10. COMPONENTS — STORY SECTION
   ========================================================================== */

.bm-story {
    padding: 8rem 2rem;
    background-color: var(--bm-surface-container-low);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bm-story { padding: 8rem 4rem; }
}

@media (min-width: 1024px) {
    .bm-story { padding: 8rem 6rem; }
}

.bm-story__grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .bm-story__grid { grid-template-columns: repeat(2, 1fr); }
}

.bm-story__image-wrap {
    position: relative;
}

.bm-story__image-blur {
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: var(--bm-surface-container-highest);
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.5;
}

.bm-story__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--bm-shadow-xl);
    position: relative;
    z-index: 10;
}

.bm-story__frame {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(121, 84, 46, 0.2);
    border-radius: 0.75rem;
    z-index: 0;
}

.bm-story__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bm-story__title {
    font-family: var(--bm-font-headline);
    font-size: 2.25rem;
    color: var(--bm-primary);
    line-height: 1.25;
}

@media (min-width: 768px) {
    .bm-story__title { font-size: 3rem; }
}

.bm-story__text {
    font-family: var(--bm-font-body);
    font-size: 1.125rem;
    color: var(--bm-on-surface-variant);
    line-height: 1.625;
}

.bm-story__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--bm-primary);
    text-decoration: none;
}

.bm-story__link span:first-child {
    font-family: var(--bm-font-label);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bm-story__link .material-symbols-outlined {
    transition: transform var(--bm-transition-base);
}

.bm-story__link:hover .material-symbols-outlined {
    transform: translateX(0.5rem);
}

/* ==========================================================================
   11. COMPONENTS — NEWSLETTER
   ========================================================================== */

.bm-newsletter {
    padding: 6rem 2rem;
    background-color: var(--bm-surface);
}

@media (min-width: 768px) {
    .bm-newsletter { padding: 6rem 4rem; }
}

@media (min-width: 1024px) {
    .bm-newsletter { padding: 6rem 6rem; }
}

.bm-newsletter__box {
    background-color: rgba(121, 84, 46, 0.05);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bm-newsletter__box { padding: 5rem; }
}

.bm-newsletter__title {
    font-family: var(--bm-font-headline);
    font-size: 1.875rem;
    color: var(--bm-primary);
    font-style: italic;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .bm-newsletter__title { font-size: 2.25rem; }
}

.bm-newsletter__desc {
    font-family: var(--bm-font-body);
    color: var(--bm-on-surface-variant);
    margin-bottom: 2rem;
}

.bm-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 40rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .bm-newsletter__form {
        flex-direction: row;
    }
}

.bm-newsletter__input {
    width: 100%;
    flex: 1;
    background-color: #ffffff;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-family: var(--bm-font-label);
    letter-spacing: 0.025em;
    border-radius: var(--bm-border-radius);
}

.bm-newsletter__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--bm-primary);
}

.bm-newsletter__btn {
    width: 100%;
    background-color: var(--bm-primary);
    color: var(--bm-on-primary);
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--bm-font-label);
    cursor: pointer;
    border: none;
    transition: background-color var(--bm-transition-base);
}

@media (min-width: 768px) {
    .bm-newsletter__btn { width: auto; }
}

.bm-newsletter__btn:hover {
    background-color: var(--bm-primary-container);
}

.bm-newsletter__privacy {
    font-size: 10px;
    color: rgba(80, 69, 59, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--bm-font-label);
    margin-top: 1rem;
}

/* ==========================================================================
   12. COMPONENTS — BUTTONS
   ========================================================================== */

.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bm-font-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1.25rem 2.5rem;
    transition: all var(--bm-transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.bm-btn--primary {
    background: var(--bm-gradient-bronze);
    color: var(--bm-on-primary);
    box-shadow: var(--bm-shadow-lg);
}

.bm-btn--primary:hover {
    box-shadow: var(--bm-shadow-xl);
    transform: scale(1.01);
    color: var(--bm-on-primary);
}

.bm-btn--primary:active {
    transform: scale(0.95);
}

.bm-btn--outline {
    background: transparent;
    border: 1px solid var(--bm-primary);
    color: var(--bm-primary);
}

.bm-btn--outline:hover {
    background-color: var(--bm-primary);
    color: var(--bm-on-primary);
}

.bm-btn--full {
    width: 100%;
}

/* ==========================================================================
   13. PATTERNS & DECORATIVE
   ========================================================================== */

.bm-zellige-pattern {
    background-image: url('assets/images/zellige-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

.bm-zellige-dot-pattern {
    background-color: transparent;
    background-image: radial-gradient(var(--bm-primary) 0.5px, transparent 0.5px),
                       radial-gradient(var(--bm-primary) 0.5px, var(--bm-surface) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
}

.bm-bronze-gradient {
    background: var(--bm-gradient-bronze);
}

/* ==========================================================================
   14. UTILITIES
   ========================================================================== */

.bm-pt-header { padding-top: var(--bm-header-height); }

/* Section Spacing */
.bm-section {
    padding: 6rem 2rem;
}

@media (min-width: 768px) {
    .bm-section { padding: 6rem 4rem; }
}

@media (min-width: 1024px) {
    .bm-section { padding: 6rem 6rem; }
}

.bm-section--lg {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Aspect Ratios */
.bm-aspect-4-5 { aspect-ratio: 4 / 5; }
.bm-aspect-square { aspect-ratio: 1 / 1; }
.bm-aspect-16-9 { aspect-ratio: 16 / 9; }
.bm-aspect-3-4 { aspect-ratio: 3 / 4; }

/* Page Template: Content Padding */
.bm-page-content {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .bm-page-content { padding-left: 3rem; padding-right: 3rem; }
}

@media (min-width: 1024px) {
    .bm-page-content { padding-left: 6rem; padding-right: 6rem; }
}

/* Pagination */
.bm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 6rem;
}

.bm-pagination__link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bm-font-label);
    font-size: 0.875rem;
    color: var(--bm-on-surface-variant);
    text-decoration: none;
    transition: color var(--bm-transition-base);
}

.bm-pagination__link:hover {
    color: var(--bm-primary);
}

.bm-pagination__link--active {
    color: var(--bm-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--bm-primary);
}

/* ==========================================================================
   15. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--bm-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   16. PRINT STYLES
   ========================================================================== */

@media print {
    .bm-header,
    .bm-footer,
    .bm-mobile-menu,
    .bm-newsletter {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }
}
