.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;
}
/*
 * 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';
}

.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 {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
    position: relative;
    text-decoration: none;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* 카테고리 탭 */
.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;
    }
}
