:root {
    --background-primary: #FFFFFF;
    --background-secondary: #FAF7F2;
    --background-tertiary: #F4EEE5;
    --background-surface: #FFFFFF;
    --background-subtle: #EDE4D8;
    --primary-text-light-bg: #26211E;
    --secondary-text-light-bg: #70655E;
    --muted-text-light-bg: #9C8F85;
    --brand-primary: #8C6D58;
    --brand-primary-hover: #775A47;
    --brand-primary-active: #5E4636;
    --brand-secondary: #D3BA9E;
    --brand-accent: #A98467;
    --border-subtle: #EBE3D7;
    --border-medium: #DDCFC0;
    --border-focus: #8C6D58;
    --badge-background: #F5EFEB;
    --badge-text: #614D3F;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-primary);
    color: var(--primary-text-light-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Playfair Display', Georgia, serif;
}

.text-muted {
    color: #9C8F85 !important;
}

::selection {
    background-color: #D3BA9E;
    color: #26211E;
}

/* ===== header ===== */
.site-header-block {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EBE3D7;
}

.site-header-block .js-mobile-drawer {
    background-color: #FFFFFF;
}

.site-header-block [data-basket-count] {
    font-variant-numeric: tabular-nums;
}

/* ===== hero ===== */
.borealselect-hero .font-heading {
    font-family: 'Playfair Display', Georgia, serif;
}

.borealselect-hero {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.borealselect-hero .borealselect-hero-btn {
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.borealselect-hero .borealselect-hero-img {
    transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== installation-service ===== */
.borealselect-services-section .js-service-card {
    display: flex;
}

.borealselect-services-section .js-service-card.is-hidden {
    display: none;
}

.borealselect-services-section .js-service-tab.active {
    background-color: #8C6D58;
    color: #FFFFFF;
    border-color: transparent;
}

/* ===== pre-order ===== */
.pre-order-section {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pre-order-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
}

.pre-order-section .preorder-card {
    box-shadow: 0 4px 20px -2px rgba(140, 109, 88, 0.05);
}

.pre-order-section .preorder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(140, 109, 88, 0.12);
}

/* ===== stock-remaining ===== */
.stock-remaining-block .stock-card {
    box-shadow: 0 4px 20px -2px rgba(140, 109, 88, 0.05);
}

.stock-remaining-block .stock-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(140, 109, 88, 0.12);
}

/* ===== seasonal-collection ===== */
.seasonal-collection-section .seasonal-product-card {
    will-change: transform, box-shadow;
}

.seasonal-collection-section .seasonal-product-card img {
    object-position: center;
}

/* ===== sizing-fit ===== */
.size-guide-section .js-table-container {
    -webkit-overflow-scrolling: touch;
}

.size-guide-section table tr:hover td {
    background-color: #FAF7F2;
}

.size-guide-section .js-cat-btn.active {
    background-color: #8C6D58;
    color: #FFFFFF;
}

.size-guide-section .js-unit-btn.active {
    background-color: #8C6D58;
    color: #FFFFFF;
}

/* ===== footer ===== */
.borealselect-footer a {
    text-decoration: none;
}

.borealselect-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== PAGE: catalog ===== */
.boreal-catalog-section .hidden-page-item{display:none!important}.boreal-catalog-section .js-product-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.boreal-catalog-section .js-product-card:hover{transform:translateY(-4px);border-color:#DDCFC0}

/* ===== PAGE: australian-brands ===== */
.designers-grid-section { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.designers-grid-section .font-serif { font-family: 'Playfair Display', Georgia, serif; }
.designers-grid-section .designers-grid-card { will-change: transform, box-shadow; }

/* ===== PAGE: buyer-help ===== */
.buyer-help-section { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.buyer-help-section h1, .buyer-help-section h2 { font-family: 'Playfair Display', Georgia, serif; }
.buyer-help-section .js-faq-tab.active { background-color: #8C6D58; color: #FFFFFF; border-color: #8C6D58; }

/* ===== PAGE: about ===== */
.about-story-section { font-family: 'Plus Jakarta Sans', sans-serif; }
.about-story-section .font-serif { font-family: 'Playfair Display', Georgia, serif; }
.about-story-section .js-tab-btn.active { background-color: #8C6D58; color: #FFFFFF; }
.about-story-section .js-tab-btn:not(.active) { background-color: transparent; color: #70655E; }
.about-story-section .js-tab-btn:not(.active):hover { color: #26211E; }

/* ===== PAGE: contact ===== */
.boreal-contact-block { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; } .boreal-contact-block iframe { filter: saturate(0.9) contrast(1.05); }

/* ===== PAGE: privacy ===== */
.privacy-section {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.privacy-section h1, 
.privacy-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

.privacy-section .js-toc-link.is-active {
  background-color: #F4EEE5;
  color: #8C6D58;
  font-weight: 600;
}

.privacy-section .js-toc-link.is-active i {
  color: #8C6D58;
}

/* ===== PAGE: terms ===== */
.terms-content-section {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.terms-content-section .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
.terms-content-section .js-terms-link.is-active {
  background-color: #8C6D58;
  color: #FFFFFF;
  font-weight: 600;
}
.terms-content-section article {
  scroll-margin-top: 6rem;
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-section {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  word-break: break-word;
}
.disclaimer-section h1, .disclaimer-section h2, .disclaimer-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
}
.disclaimer-section .js-disclaimer-nav-btn.active {
  background-color: #8C6D58;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(140, 109, 88, 0.25);
}

/* ===== PAGE: refound ===== */
.refund-content-section .js-accordion-content { transition: all 0.3s ease-in-out; } .refund-content-section .rotate-180 { transform: rotate(180deg); }

/* ===== PAGE: delivery ===== */
.delivery-page-section { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.delivery-page-section .delivery-card { box-shadow: 0 2px 12px rgba(74, 59, 50, 0.03); }
.delivery-page-section select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C6D58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; padding-right: 2.5rem; }
.delivery-page-section .delivery-faq-item button:focus { outline: none; }
.delivery-page-section .delivery-faq-item .js-faq-icon.is-active { transform: rotate(180deg); }

/* ===== PAGE: cookies ===== */
.cookies-policy-section { scroll-behavior: smooth; }
.cookies-policy-section nav a { transition: all 0.2s ease-in-out; }
.cookies-policy-section input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: #8C6D58; }

.comment-card {
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.comment-card:hover {
    box-shadow: 0 8px 24px -4px rgba(140, 109, 88, 0.08);
}

.comment-avatar {
    object-fit: cover;
    width: 2.75rem;
    height: 2.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #FAF7F2 0%, #EDE4D8 100%);
}

.comment-badge {
    letter-spacing: 0.02em;
}

.comment-action-btn {
    transition: all 0.2s ease;
}

.comment-reply-trigger {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reply-comment-wrapper .reply-thread-line {
    border-left: 1px dashed #DDCFC0;
}

.reply-comment {
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.reply-comment:hover {
    border-color: #DDCFC0;
    box-shadow: 0 4px 16px -2px rgba(140, 109, 88, 0.05);
}

.comment-avatar {
    object-fit: cover;
    width: 2.25rem;
    height: 2.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.comment-brand-badge {
    letter-spacing: 0.03em;
}

.comment-action-btn {
    transition: all 0.2s ease;
}


/* ===== PAGE TEMPLATE: catalog ===== */
.site-header-block {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EBE3D7;
}

.site-header-block .js-mobile-drawer {
    background-color: #FFFFFF;
}

.site-header-block [data-basket-count] {
    font-variant-numeric: tabular-nums;
}

.product-detail-template {
    hyphens: auto;
}

.product-detail-template .active-tab {
    background-color: #8C6D58;
    color: #FFFFFF;
}

.borealselect-footer a {
    text-decoration: none;
}

.borealselect-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== PAGE TEMPLATE: australian-brands ===== */
.site-header-block {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EBE3D7;
}

.site-header-block .js-mobile-drawer {
    background-color: #FFFFFF;
}

.site-header-block [data-basket-count] {
    font-variant-numeric: tabular-nums;
}

.brand-detail-page .brand-prose-content p {
    color: #70655E;
    line-height: 1.6;
}

.brand-detail-page .product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.borealselect-footer a {
    text-decoration: none;
}

.borealselect-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== PAGE TEMPLATE: buyer-help ===== */
.site-header-block {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EBE3D7;
}

.site-header-block .js-mobile-drawer {
    background-color: #FFFFFF;
}

.site-header-block [data-basket-count] {
    font-variant-numeric: tabular-nums;
}

.borealselect-footer a {
    text-decoration: none;
}

.borealselect-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.buyer-help-detail-block .article-prose-content p {
    line-height: 1.7;
}

.buyer-help-detail-block .js-accordion-icon.is-active {
    transform: rotate(45deg);
    background-color: #8C6D58;
    color: #FFFFFF;
    border-color: #8C6D58;
}