/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

body {
  color: #212529;
  line-height: 1.5;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  text-decoration: none;
}

input {
  border: none;
  background-image: none;
  background-color: transparent;
  box-shadow: none;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.h2 {
  font-size: 32px;
}

.h3 {
  font-size: 28px;
}

.h4 {
  font-size: 24px;
}

.h5 {
  font-size: 20px;
}

.f-14 {
  font-size: 14px;
}

.f-20 {
  font-size: 20px;
}

.fw-medium {
  font-weight: 500;
}

.letter-spacing-base {
  letter-spacing: 0.05em;
}

.text-secondary {
  color: #6c757d;
}

.text-muted {
  color: #adb5bd;
}

.text-highlight {
  color: #57a203;
}

.text-danger-300 {
  color: #D74F4F;
}

.text-line-through {
  text-decoration: line-through;
}

.text-align-center {
  text-align: center;
}

.bg-primary-200 {
  background-color: #e8fec5;
}

.bg-primary-gray-100 {
  background: #f8f9fa;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.border-primary {
  border: 1px solid #212529;
}

.border-top-primary {
  border-top: 1px solid #212529;
}

.border-bottom-primary {
  border-bottom: 1px solid #212529;
}

.border-color-gray-300 {
  border-color: #dee2e6;
}

.bg-logo {
  background-image: url("https://raw.githubusercontent.com/hexschool/2022-web-layout-training/refs/heads/main/2025-week1/logo.svg");
  width: 129px;
  height: 46px;
  display: block;
}

.hide-text {
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}

.container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.col-10, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col {
  padding-left: 12px;
  padding-right: 12px;
}

.row {
  margin-right: -12px;
  margin-left: -12px;
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1;
}

.col-2 {
  width: 16.6666%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.3333%;
}

.col-5 {
  width: 41.6666%;
}

.col-6 {
  width: 50%;
}

.col-7 {
  width: 58.3333%;
}

.col-10 {
  width: 83.3333%;
}

.gx-4.row {
  margin-left: -4px;
  margin-right: -4px;
}

.gx-4 > .col {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-2 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-3 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-4 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-5 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-6 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-7 {
  padding-left: 4px;
  padding-right: 4px;
}

.gx-4 > .col-10 {
  padding-left: 4px;
  padding-right: 4px;
}

.text-link {
  display: inline-block;
  color: #212529;
  font-weight: 500;
  padding-top: 12px;
  padding-bottom: 12px;
}
.text-link:hover {
  color: #6c757d;
}
.text-link:focus {
  color: #212529;
  box-shadow: inset 0 -2px 0 #212529;
}

.breadcrumb {
  display: flex;
}
.breadcrumb-item {
  font-weight: 500;
  color: #6c757d;
}
.breadcrumb-item a {
  color: inherit;
}
.breadcrumb-item a:hover {
  color: #212529;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #dee2e6;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 12px;
  margin-left: 12px;
}
.breadcrumb-item.active {
  color: #212529;
}

.card {
  display: block;
}
.card:hover .card-img {
  opacity: 0.8;
}
.card-title {
  color: #212529;
  margin-top: 12px;
}
.card-price {
  color: #212529;
  font-weight: 500;
  margin-top: 4px;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  border-radius: 4px;
  padding: 12px 24px;
  color: #fff;
  background: #212529;
  border: 1px solid transparent;
}
.btn:hover {
  color: #fff;
  background: #495057;
}
.btn:focus {
  color: #fff;
  background: #495057;
  box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

.btn-outline {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  border-radius: 4px;
  padding: 12px 24px;
  color: #212529;
  background: #fff;
  border: 1px solid #212529;
}
.btn-outline:hover {
  color: #fff;
  background: #212529;
}
.btn-outline:focus {
  color: #fff;
  background: #212529;
  box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

.icon-btn {
  display: inline-block;
  color: #212529;
  font-size: 24px;
  padding: 6px 12px;
}
.icon-btn:hover {
  color: #57a203;
}
.icon-btn:focus {
  color: #212529;
  background: #f5fee7;
}

.pagination {
  display: flex;
  justify-content: center;
}
.pagination .page-item {
  flex-basis: 40px;
  margin-right: 8px;
}
.pagination .page-item:first-child {
  margin-right: 12px;
}
.pagination .page-item:last-child {
  margin-right: 0;
  margin-left: 4px;
}
.pagination .page-item .page-link {
  display: inline-block;
  text-align: center;
  color: #212529;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}
.pagination .page-item .page-link.prev-link, .pagination .page-item .page-link.next-link {
  font-size: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.pagination .page-item:hover .page-link {
  background: #f8f9fa;
}
.pagination .page-item.selected .page-link {
  font-weight: 500;
  background: #c0fa73;
}
.pagination .page-item.disabled .page-link {
  color: #adb5bd;
  background: transparent;
  cursor: default;
}

.p-8 {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 8px;
  padding-left: 8px;
}

.py-8 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-12 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.py-16 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.pt-24 {
  padding-top: 24px;
}

.py-24 {
  padding-top: 24px;
  padding-bottom: 24px;
}

.py-32 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.pt-32 {
  padding-top: 32px;
}

.py-48 {
  padding-top: 48px;
  padding-bottom: 48px;
}

.py-64 {
  padding-top: 64px;
  padding-bottom: 64px;
}

.pb-80 {
  padding-bottom: 80px;
}

.mt-4 {
  margin-top: 4px;
}

.mt-8 {
  margin-top: 8px;
}

.mr-8 {
  margin-right: 8px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mr-24 {
  margin-right: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mr-40 {
  margin-right: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.ml-40 {
  margin-left: 40px;
}

.mt-48 {
  margin-top: 48px;
}

.mr-48 {
  margin-right: 48px;
}

.mb-48 {
  margin-bottom: 48px;
}