:root {
    --color-primary: #C85A17;
    --color-primary-hover: #A8440B;
    --color-secondary: #F3EAD8;
    --color-secondary-hover: #E9DBC2;
    --color-accent: #F59E0B;
    --color-accent-hover: #D97706;
    --color-success: #2D6A4F;
    --color-warning: #E76F51;
    --color-danger: #BC4749;
    --bg-primary: #FAF7F2;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F2EBE0;
    --card-bg: #FFFFFF;
    --card-bg-alt: #FAF3E8;
    --text-primary: #221510;
    --text-secondary: #6B584F;
    --text-muted: #9A877E;
    --border-color: #EADECF;
    --border-color-subtle: #F4EBE1;
    --border-color-focus: #C85A17;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--text-primary);
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.font-accent {
    font-family: 'Outfit', sans-serif;
}

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

a,
button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

:focus-visible {
    outline: 2px solid var(--border-color-focus);
    outline-offset: 2px;
}

/* ===== header ===== */
.site-header {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header a,
.site-header button {
    -webkit-tap-highlight-color: transparent;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 20px -2px rgba(34, 21, 16, 0.08);
}

/* ===== hero ===== */
.gm-hero-section {
    position: relative;
}

.page-image-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.page-image-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(34, 21, 16, 0.78), rgba(34, 21, 16, 0.48));
}

.page-image-hero h1,
.page-image-hero p,
.page-image-hero nav,
.page-image-hero nav a,
.page-image-hero nav li {
    color: #FFFDF9 !important;
}

.js-product-zoom-image {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.js-product-zoom-image:hover,
.js-product-zoom-image:focus-visible {
    transform: scale(1.02);
    filter: brightness(0.92);
}

.js-inline-newsletter-success,
.js-comment-success {
    color: #2D6A4F;
    background: #E8F5E9;
    border-color: #B7D8C4;
}

.gm-hero-section h1 {
    font-family: 'Fraunces', Georgia, serif;
}

.gm-hero-cta-btn {
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-hero-cta-btn:hover {
    transform: translateY(-2px);
}

.gm-hero-section .gm-hero-image-frame img {
    transition: transform 0.5s ease;
}

.gm-hero-section .gm-hero-image-frame:hover img {
    transform: scale(1.03);
}

/* ===== personal-recommendations ===== */
.personal-rec-block {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.personal-rec-block h2 {
    font-family: 'Fraunces', Georgia, serif;
}

.personal-rec-block .js-rec-card {
    min-height: 100%;
}

.personal-rec-block .js-filter-btn.active-tab {
    background-color: #C85A17;
    color: #FFFFFF;
    border-color: #C85A17;
}

/* ===== size-guide ===== */
#size-guide-section .size-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#size-guide-section .size-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(107, 88, 79, 0.12);
}

#size-guide-section table th,
#size-guide-section table td {
    white-space: nowrap;
}

@media (max-width: 768px) {

    #size-guide-section table th,
    #size-guide-section table td {
        white-space: normal;
        min-width: 120px;
    }
}

/* ===== referral ===== */
.referral-section .referral-input::placeholder {
    color: #9A877E;
    opacity: 1;
}

.referral-section .referral-input:focus {
    border-color: #C85A17;
    box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.15);
}

.referral-section textarea.referral-input {
    min-height: 70px;
}

.referral-section .js-referral-link-input {
    cursor: text;
}

/* ===== new-products ===== */
.new-products-section .new-product-card {
    box-shadow: 0 4px 15px -2px rgba(107, 88, 79, 0.05);
}

.new-products-section .new-product-card:hover {
    border-color: #C85A17;
}

.new-products-section .js-flavor-filter.active-filter {
    background-color: #C85A17;
    color: #FFFFFF;
    border-color: #C85A17;
}

/* ===== newsletter ===== */
.get-munches-newsletter {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.get-munches-newsletter h2 {
    font-family: 'Fraunces', Georgia, serif;
}

.get-munches-newsletter .get-munches-newsletter__input::placeholder {
    color: #9A877E;
    opacity: 1;
}

.get-munches-newsletter .get-munches-newsletter__input:focus {
    border-color: #C85A17;
    box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.25);
}

/* ===== footer ===== */
.gm-footer-section {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gm-footer-section a:focus-visible {
    outline: 2px solid #C85A17;
    outline-offset: 2px;
    border-radius: 4px;
}

.site-header {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header a,
.site-header button {
    -webkit-tap-highlight-color: transparent;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 20px -2px rgba(34, 21, 16, 0.08);
}

.gm-footer-section {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gm-footer-section a:focus-visible {
    outline: 2px solid #C85A17;
    outline-offset: 2px;
    border-radius: 4px;
}

.catalog-main-block .js-search-input::placeholder {
    color: #9A877E;
    opacity: 1;
}


/* ===== PAGE: about ===== */
.about-page-wrapper{min-height:100%;overflow-x:hidden}.about-page-wrapper input::placeholder,.about-page-wrapper textarea::placeholder{color:#9A877E;opacity:1}.about-page-wrapper select{background-color:#FFFFFF;color:#221510}.about-page-wrapper iframe{display:block;width:100%;height:100%}.about-page-wrapper button:active{transform:scale(0.98)}

/* ===== PAGE: delivery ===== */
.delivery-page-section input[type=number]::-webkit-inner-spin-button,
.delivery-page-section input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.delivery-page-section input[type=number] {
  -moz-appearance: textfield;
}
.delivery-page-section .js-faq-icon.is-active {
  transform: rotate(180deg);
}

/* ===== PAGE: blog ===== */
.munches-blog-section input::placeholder {
  color: #9A877E;
  opacity: 1;
}
.munches-blog-section .scrollbar-none::-webkit-scrollbar {
  display: none;
}
.munches-blog-section .scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== PAGE: privacy ===== */
.privacy-policy-section{font-family:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif}.privacy-policy-section h1,.privacy-policy-section h2,.privacy-policy-section h3{font-family:'Fraunces',Georgia,serif}

/* ===== PAGE: terms ===== */
.terms-block {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.terms-block h1, .terms-block h2, .terms-block h3 {
  font-family: 'Fraunces', Georgia, serif;
}
.terms-block .js-terms-item {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.terms-block a {
  transition: color 0.15s ease;
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-section { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.disclaimer-section h1, .disclaimer-section h2, .disclaimer-section h3 { font-family: 'Fraunces', Georgia, serif; }
.disclaimer-section a { transition: color 0.2s ease, border-color 0.2s ease; }

/* ===== PAGE: refund ===== */
.refund-policy-section .active-helper-btn {
  border-color: #C85A17 !important;
  background-color: #FAF3E8 !important;
  box-shadow: 0 4px 12px rgba(200, 90, 23, 0.12);
}

.refund-policy-section .js-faq-trigger:focus {
  outline: none;
}

.refund-policy-section .js-faq-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.refund-policy-section .js-faq-item.is-open {
  border-color: #C85A17;
  box-shadow: 0 4px 14px rgba(34, 21, 16, 0.05);
}

.refund-policy-section .js-faq-icon.is-rotated {
  transform: rotate(180deg);
}

.review-card.main-comment {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FFFFFF;
    border: 1px solid #EADECF;
    border-radius: 20px;
    box-shadow: 0 4px 12px -2px rgba(34, 21, 16, 0.04);
}

.review-card.main-comment:hover {
    border-color: #C85A17;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F3EAD8;
}

.comment-author {
    color: #221510;
    font-weight: 600;
    font-size: 1rem;
}

.comment-badge {
    background-color: #F3EAD8;
    color: #C85A17;
    border: 1px solid #EADECF;
    border-radius: 9999px;
}

.comment-stars {
    color: #F59E0B;
    gap: 2px;
}

.comment-date {
    color: #9A877E;
}

.comment-flavor {
    color: #6B584F;
}

.comment-body p {
    color: #221510;
    line-height: 1.6;
}

.comment-footer {
    border-color: #F4EBE1;
}

.comment-action-btn {
    color: #6B584F;
}

.comment-action-btn:hover {
    color: #C85A17;
}

.comment-report-btn {
    color: #9A877E;
}

.comment-report-btn:hover {
    color: #BC4749;
}

.reply-comment-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.reply-thread-line {
    background-color: #EADECF;
    width: 2px;
}

.review-card.reply-comment {
    background-color: #FAF3E8;
    border: 1px solid #EADECF;
    border-radius: 16px;
    box-shadow: 0 2px 6px -1px rgba(34, 21, 16, 0.03);
}

.reply-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #C85A17;
}

.reply-author {
    color: #221510;
    font-weight: 600;
    font-size: 0.875rem;
}

.staff-badge {
    background-color: #C85A17;
    color: #FFFFFF;
    border-radius: 9999px;
}

.reply-context {
    color: #6B584F;
    font-size: 0.75rem;
}

.reply-date {
    color: #9A877E;
}

.reply-body p {
    color: #221510;
    line-height: 1.55;
}

.reply-footer {
    border-color: #EADECF;
}

.reply-action-btn {
    color: #6B584F;
}

.reply-action-btn:hover {
    color: #C85A17;
}


/* ===== PAGE TEMPLATE: catalog ===== */
.site-header {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header a,
.site-header button {
    -webkit-tap-highlight-color: transparent;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 20px -2px rgba(34, 21, 16, 0.08);
}

.gm-footer-section {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gm-footer-section a:focus-visible {
    outline: 2px solid #C85A17;
    outline-offset: 2px;
    border-radius: 4px;
}

.article-detail-page .comment-avatar,
.article-detail-page .reply-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EADECF;
    flex-shrink: 0;
}

.article-detail-page .prose-content h1,
.article-detail-page .prose-content h2,
.article-detail-page .prose-content h3,
.article-detail-page .prose-content h4 {
    font-family: 'Fraunces', Georgia, serif;
    color: #221510;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}

.article-detail-page .prose-content h1 {
    font-size: 18px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h1 {
        font-size: 28px;
    }
}

.article-detail-page .prose-content h2 {
    font-size: 16px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h2 {
        font-size: 24px;
    }
}

.article-detail-page .prose-content h3 {
    font-size: 14px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h3 {
        font-size: 20px;
    }
}

.article-detail-page .prose-content p {
    color: #221510;
    line-height: 1.7;
    margin-bottom: 1.25em;
}

.article-detail-page .prose-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25em;
    color: #221510;
}

.article-detail-page .prose-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25em;
    color: #221510;
}

.article-detail-page .prose-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.article-detail-page .prose-content strong {
    color: #221510;
    font-weight: 700;
}

.article-detail-page .prose-content em {
    font-style: italic;
    color: #6B584F;
}

/* ===== PAGE TEMPLATE: blog ===== */
.site-header {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header a,
.site-header button {
    -webkit-tap-highlight-color: transparent;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 20px -2px rgba(34, 21, 16, 0.08);
}

.gm-footer-section {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gm-footer-section a:focus-visible {
    outline: 2px solid #C85A17;
    outline-offset: 2px;
    border-radius: 4px;
}

.article-detail-page .comment-avatar,
.article-detail-page .reply-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EADECF;
    flex-shrink: 0;
}

.article-detail-page .prose-content h1,
.article-detail-page .prose-content h2,
.article-detail-page .prose-content h3,
.article-detail-page .prose-content h4 {
    font-family: 'Fraunces', Georgia, serif;
    color: #221510;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}

.article-detail-page .prose-content h1 {
    font-size: 18px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h1 {
        font-size: 28px;
    }
}

.article-detail-page .prose-content h2 {
    font-size: 16px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h2 {
        font-size: 24px;
    }
}

.article-detail-page .prose-content h3 {
    font-size: 14px;
}

@media (min-width: 768px) {
    .article-detail-page .prose-content h3 {
        font-size: 20px;
    }
}

.article-detail-page .prose-content p {
    color: #221510;
    line-height: 1.7;
    margin-bottom: 1.25em;
}

.article-detail-page .prose-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25em;
    color: #221510;
}

.article-detail-page .prose-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25em;
    color: #221510;
}

.article-detail-page .prose-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.article-detail-page .prose-content strong {
    color: #221510;
    font-weight: 700;
}

.article-detail-page .prose-content em {
    font-style: italic;
    color: #6B584F;
}
