/* theme munchie - CSS bo sung cua theme (khoi nen tang khong co trong mau). CSS cua mau: theme-base.css (giu nguyen). */

/* header: logo slot h1/div, keyword links, language box, cart link */
.shop-header__logo { margin: 0; font-size: inherit; line-height: 1; }
.wordmark__text { font-family: "Baloo 2", "Nunito", sans-serif; font-size: 34px; font-weight: 700; color: var(--orange-ink); line-height: 1; }
.wordmark:hover { text-decoration: none; }
.shop-header__keywords a { color: var(--orange-ink); font-weight: 700; }
.top-strip a:hover { color: var(--white); }
a.shop-header__action--cart { color: var(--text); }
.shop-header__actions .language-select .btn, .contact-header__actions .language-select .btn { min-height: 42px; border-color: var(--line); color: var(--text); background: var(--white); }
.language-select .dropdown-item { display: flex; align-items: center; gap: 6px; }
.language-select .flag-icon { width: 20px; height: auto; }
.contact-header__actions { display: flex; align-items: center; gap: 8px; }
.contact-header .wordmark img { width: 185px; height: auto; display: block; }
.store-nav__link, .store-nav__link:hover { text-decoration: none; }
@media (max-width: 575.98px) {
  .shop-header__actions .language-select { display: none; }
  .wordmark__text { font-size: 26px; }
}

/* platform alert of cart.add() (common.js) shown above the page -> floating toast like .shop-notice */
body > .container > .alert-success { position: fixed; z-index: 12; right: 16px; bottom: 16px; max-width: min(360px, calc(100% - 32px)); margin: 0; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); background: var(--white); color: var(--text); font-weight: 700; }

/* breadcrumb + pagination */
.page-breadcrumb .breadcrumb { margin: 0 0 12px; padding: 0; background: none; font-size: 14px; }
.page-breadcrumb .breadcrumb-item a { color: var(--orange-ink); font-weight: 700; }
.page-breadcrumb .breadcrumb-item.active { color: var(--muted); }
.page-pagination { margin-top: 20px; }
.page-pagination .page-link { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; margin: 0 3px; border: 1px solid var(--line); border-radius: 7px; color: var(--orange-ink); font-weight: 700; }
.page-pagination .page-item.active .page-link { background: var(--orange-ink); border-color: var(--orange-ink); color: var(--white); }

/* product list (category, search, special, all) */
.catalog-page { padding-block: 24px 6px; }
.catalog-page__head { row-gap: 8px; }
.catalog-page__count { margin: 4px 0 0; color: var(--muted); }
.catalog-page__sort select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--text); font-weight: 700; }
.catalog-page__tabs { margin: 14px 0 6px; }
.catalog-page__tabs .store-tabs__button { color: var(--text); text-decoration: none; }
.catalog-page__tabs .store-tabs__button:hover { border-color: var(--orange); }
.catalog-page__list { padding-top: 20px; }
.catalog-page__side { margin-bottom: 15px; }
.catalog-page__empty { padding: 24px; text-align: center; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.product-card__name a { color: var(--text); }
.product-card__name a:hover { color: var(--orange-ink); text-decoration: none; }
a.product-card__image { display: block; }
.product-card__actions a.store-button { text-decoration: none; }

/* filter module of the kit (catalog-filter) */
.catalog-filter { padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.catalog-filter h2, .catalog-filter h3 { font-size: 20px; font-weight: 700; }
.catalog-filter__group + .catalog-filter__group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.catalog-filter .custom-control-input:checked ~ .custom-control-label::before { background: var(--orange-ink); border-color: var(--orange-ink); }
.catalog-filter .btn-text { padding: 0; background: none; border: 0; color: var(--orange-ink); font-weight: 700; }

/* product page */
.product-page { padding-block: 24px 10px; }
.product-page__main { row-gap: 18px; }
.product-page__image { position: relative; border: 1px solid var(--line); aspect-ratio: 1; }
.product-page__image img { width: 100%; height: 100%; object-fit: cover; }
.product-page__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.product-page__thumbs button { padding: 0; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.product-page__thumbs button[aria-current="true"] { border-color: var(--orange-ink); }
.product-page__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-page__title { margin-bottom: 10px; }
.product-page__prices .product-card__price { font-size: 30px; }
.product-page__prices .product-card__price--old { font-size: 17px; }
.product-page__short { margin-bottom: 12px; }
.product-page__options { margin-bottom: 10px; }
.product-page__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 18px; }
.product-page__buy .store-button { min-height: 44px; padding-inline: 18px; }
.product-page__qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.product-page__qty button { width: 40px; border: 0; background: var(--surface); color: var(--orange-ink); font-weight: 700; font-size: 18px; }
.product-page__qty input { width: 52px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.product-page__qty input::-webkit-outer-spin-button, .product-page__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-page__promises { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.product-page__promises i { color: var(--orange-ink); font-size: 21px; flex: 0 0 26px; text-align: center; }
.product-page__promises p { margin: 0; color: var(--muted); font-size: 14px; }
.product-page__desc { margin-top: 28px; }
.product-page__related { margin-top: 14px; background: var(--surface); }

/* news + content pages */
.news-page__related { margin-top: 30px; }
.news-page__copy img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* contact form card (platform form, the sample has none) */
.contact-input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--text); }
.contact-input:focus { outline: 2px solid var(--orange); outline-offset: 0; }
textarea.contact-input { display: block; }
.contact-error { margin: 4px 0 0; color: var(--error); font-size: 14px; }
.contact-card--form a { text-decoration: none; }
