.product-list .col {
    margin-top: 1em;
    margin-bottom: 1em;
}

.product-list .card {
    width: 100%;
}

.product-list .card .card-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.product-list .card h6 {
    font-size: 1.1em;
    padding-left: .5em;
    padding-right: .5em;
}

a.card {
    color: #000;
    text-decoration: none;
}
.paginator {
    clear: both;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.2em;
}
.paginator a {
    color: #333;
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
}

.paginator a.active {
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
}

.paginator a:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
}

.paginator a.active:hover {
    background-color: #007bff;
}
table.price-list {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}

.price-list th, .price-list td {
    border: 1px solid #ccc;
    text-align: center;
    padding: .7em;
    word-break: break-word;
    min-width: 1.8em;
}
.price-list th:first-child, .price-list td:first-child {
    border-left: 0;
}
.price-list th:last-child, .price-list td:last-child {
    border-right: 0;
}

.price-list tr:last-child td {
    border-bottom: 0;
}

.price-full-list th:first-child, .price-full-list td:first-child {
    border-left: 1px solid #ccc !important;
}
.price-full-list th:last-child, .price-full-list td:last-child {
    border-right: 1px solid #ccc !important;
}
.price-full-list tr:last-child td {
    border-bottom: 1px solid #ccc !important;
}

.price-list label {
    display: block;
    font-weight: 600;
    font-size: .8em;
    line-height: 2em;
    color: #ccc;
}
:root {
  --td-bg: #ffffff;
  --td-card: #ffffff;
  --td-surface: #f8f9fa;
  --td-border: rgba(0, 0, 0, 0.08);
  --td-text: #111827;
  --td-muted: rgba(17, 24, 39, 0.62);
  --td-primary: #667eea;
  --td-danger: #ff6b6b;
  --td-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.travel-deals,
.travel-deal {
  padding: 22px 0 60px;
}

.travel-deals .td-hero,
.travel-deal .td-article-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 20px;
  border: 1px solid var(--td-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 250, 0.92));
  box-shadow: var(--td-shadow);
}

.td-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  color: rgba(102, 126, 234, 0.95);
}

.td-title {
  margin: 0;
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(26px, 3.8vw, 42px);
  color: var(--td-text);
}

.td-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--td-muted);
}

.td-filters {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.td-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.18);
  background: rgba(102, 126, 234, 0.06);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.78);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.td-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 126, 234, 0.35);
  background: rgba(102, 126, 234, 0.10);
}

.td-filter.active {
  background: var(--td-primary);
  border-color: var(--td-primary);
  color: #ffffff;
}

.td-grid {
  margin: 16px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.td-card {
  grid-column: span 12;
  border-radius: 18px;
  border: 1px solid var(--td-border);
  overflow: hidden;
  background: var(--td-card);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.td-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
  border-color: rgba(102, 126, 234, 0.28);
}

.td-card-link {
  display: block;
  text-decoration: none;
  padding: 18px 18px 14px;
}

.td-card-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 107, 107, 0.95);
}

.td-card-title {
  margin: 0;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
  color: var(--td-text);
}

.td-card-subtitle {
  margin: 10px 0 0;
  color: var(--td-muted);
  font-size: 14px;
  line-height: 1.6;
}

.td-cta {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.22);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.18), rgba(102, 126, 234, 0.14));
  color: rgba(17, 24, 39, 0.88);
  font-weight: 900;
  text-align: center;
}

.td-article {
  max-width: 980px;
  margin: 0 auto;
}

.td-section {
  margin-top: 14px;
  border: 1px solid var(--td-border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 0;
}

.td-h2 {
  margin: 0;
  font-weight: 900;
  font-size: 16px;
  color: var(--td-text);
}

.td-prose {
  margin-top: 10px;
  color: rgba(17, 24, 39, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.td-prose a {
  color: var(--td-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.td-prose h1,
.td-prose h2,
.td-prose h3 {
  margin-top: 18px;
  color: var(--td-text);
  font-weight: 900;
}

.td-prose h1 { font-size: 20px; }
.td-prose h2 { font-size: 18px; }
.td-prose h3 { font-size: 16px; }

.td-prose ul,
.td-prose ol {
  padding-left: 18px;
}

.td-prose blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(102, 126, 234, 0.65);
  background: rgba(102, 126, 234, 0.06);
  border-radius: 12px;
}

.td-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}

.td-prose table th,
.td-prose table td {
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 10px;
  vertical-align: top;
}

.td-prose table th {
  background: rgba(102, 126, 234, 0.06);
  font-weight: 900;
}

.td-dl {
  margin: 12px 0 0;
}

.td-dl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.10);
}

.td-dl-row:first-child {
  border-top: none;
}

.td-dl dt {
  font-weight: 900;
  color: rgba(17, 24, 39, 0.86);
}

.td-dl dd {
  margin: 0;
  color: rgba(17, 24, 39, 0.72);
}

.td-map {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.20);
  background: rgba(102, 126, 234, 0.06);
  text-decoration: none;
  color: rgba(102, 126, 234, 0.95);
  font-weight: 900;
  font-size: 12px;
}

.td-footer {
  margin-top: 14px;
  text-align: center;
}

.td-back {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.22);
  background: rgba(102, 126, 234, 0.06);
  color: rgba(17, 24, 39, 0.82);
  text-decoration: none;
  font-weight: 900;
}

.td-back:hover {
  border-color: rgba(102, 126, 234, 0.38);
  background: rgba(102, 126, 234, 0.10);
}

@media (min-width: 720px) {
  .td-card { grid-column: span 6; }
}

@media (min-width: 1000px) {
  .td-card { grid-column: span 4; }
}

@media (max-width: 480px) {
  .td-dl-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@keyframes tdFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.td-hero,
.td-article-hero,
.td-card,
.td-section {
  animation: tdFadeUp 320ms ease both;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
    /*padding: 0 0 50px 0;*/
    margin: 0;
    font-size: .8em;
    font-family: sans-serif, 'Arial';
}

/* Ensure header icons keep consistent sizing */
.header-icons svg {
    display: block;
}

.text-left {
    text-align: left !important;
}

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

.text-right {
    text-align: right !important;
}

.clear::after {
    content: '';
    display: block;
    clear: both;
}

.block {
    display: block;
}

.text-red {
    color: red;
}

.icon-kr::before {
    content: '🇰🇷';
}
.icon-jp::before {
    content: '🇯🇵';
}
.icon-men::before {
    content: '🙋🏻‍'
}
.icon-women::before {
    content: '🙋🏻‍'
}
.icon-kids::before {
    content: '🧒🏻'
}
.icon-baby:before {
    content: '👶🏻'
}

ul.list-unstyled {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.float-left > * {
    float: left;
    margin-right: 10px;
}

.chip {
    display: inline-block;
    padding: .6em;
    border-radius: 25px;
}
.chip.beige { background-color: beige; }
.chip.black { background-color: black; }
.chip.blue { background-color: blue; }
.chip.brown { background-color: brown; }
.chip.gray { background-color: gray; }
.chip.green { background-color: green; }
.chip.orange { background-color: orange; }
.chip.pink { background-color: pink; }
.chip.red { background-color: red; }
.chip.yellow { background-color: yellow; }
.chip.purple { background-color: purple; }
.chip.white { padding: .5em; border: .1em solid #aaa; }


.navbar {
    font-size: 1.5em;
}
.profile-image {
    width: 31px;
    height: 31px;
}

header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.logo a {
    text-decoration: none;
    color: #667eea;
}

.header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}


.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #666;
    cursor: pointer;
    padding: 0;
    transition: transform 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
    position: relative;
    text-decoration: none;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: #fafbff;
    border-color: rgba(102, 126, 234, 0.35);
    color: #667eea;
}

.icon-btn.active {
    background: rgba(102, 126, 234, 0.10);
    border-color: rgba(102, 126, 234, 0.45);
    color: #667eea;
}


.icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 14px 0 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.icon-pill:hover {
    transform: translateY(-1px);
    background: #fafbff;
    border-color: rgba(102, 126, 234, 0.35);
}

.icon-pill__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.10);
    color: #667eea;
}

.icon-pill__text {
    color: #667eea;
    letter-spacing: 0.02em;
}

/* 카테고리 탭 */
.category-tabs {
    display: flex;
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    border: none;
    background: #f5f6f8;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 20px;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
}

.tab.active {
    color: white;
    background: #667eea;
}

.tab:hover:not(.active) {
    background: #e8eaf0;
}

/* 검색 & 환율 섹션 */
.search-section {
    padding: 10px 20px;
    background: white;
}

.search-box {
    display: flex;
    gap: 8px;
    margin-bottom: 0px;
}

.filter-select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    outline: none;
    min-width: 110px;
    max-width: 110px;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover {
    border-color: #667eea;
    background-color: #fafbff;
}

.search-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    min-width: 0;
}

.search-input::placeholder {
    color: #aaa;
}

.search-input:focus {
    border-color: #667eea;
    background: #fafbff;
}

.search-btn {
    padding: 14px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.exchange-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.rate-value {
    font-weight: 700;
    color: #667eea;
}

.rate-date {
    font-size: 12px;
    color: #999;
}

.promo-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

@media (max-width: 480px) {
    .header-top {
        padding: 12px 16px;
    }

    .search-section {
        padding: 10px 0;
    }

    .product-list {
        padding: 0 16px;
    }

    .price-comparison {
        gap: 8px;
    }

    .price-box {
        padding: 10px;
    }

    .price {
        font-size: 16px;
    }

    .savings-amount {
        font-size: 18px;
    }
}
