@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,300..500,0..1,-50..200');

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Pretendard', sans-serif;
    color: #222222;
    background-color: #FAF8F6; /* 시안의 은은한 아이보리 미색 배경 */
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
.material-icons,
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}
.material-icons {
    font-family: 'Material Icons';
}

/* Global Variables */
:root {
    --max-width: 1440px;
    --color-bg: #FAF8F6;
    --color-white: #FFFFFF;
    --color-black: #111111;
    --color-brown: #654E3C;
    --color-brown-light: #A79277;
    --color-gray-dark: #333333;
    --color-gray-border: #DDD7D2;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Pretendard', sans-serif;
}

/* Typography Summary */
.title-serif { font-family: var(--font-serif); font-weight: 700; }

/* Form Elements Styling */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-dark);
}
.input-text {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--color-gray-border);
    background-color: var(--color-white);
    font-size: 15px;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}
.input-text:focus {
    outline: none;
    border-color: var(--color-brown);
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray-dark);
    cursor: pointer;
    user-select: none;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-gray-border);
    border-radius: 2px;
    accent-color: var(--color-brown);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}
.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(42, 38, 36, 0.14);
}
.btn:focus-visible {
    outline: 2px solid var(--color-brown-light);
    outline-offset: 3px;
}
.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: #333333;
}
.btn-outline {
    border: 1px solid var(--color-black);
    background-color: transparent;
    color: var(--color-black);
}
.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.btn-accent {
    background-color: var(--color-brown);
    color: var(--color-white);
}
.btn-accent:hover {
    background-color: #533f30;
}

/* Breadcrumb Component */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888888;
    padding: 24px 0;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before {
    content: '/';
    margin-right: 8px;
    color: #CCCCCC;
}

/* Product Card Component (For global reuse) */
.product-card {
    position: relative;
    background-color: transparent;
    cursor: pointer;
}
.product-thumb {
    position: relative;
    background-color: #F4F0EC;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
    transform: scale(1.03);
}
.product-wish-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.product-wish-btn:hover,
.product-wish-btn:focus-visible {
    background-color: var(--color-brown);
    color: var(--color-white);
    box-shadow: 0 10px 22px rgba(42, 38, 36, 0.18);
    transform: translateY(-2px);
}
.product-wish-btn:focus-visible {
    outline: 2px solid var(--color-brown-light);
    outline-offset: 3px;
}
.product-wish-btn .material-symbols-outlined {
    font-size: 18px;
}
.product-info {
    padding-top: 16px;
}
.product-brand {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.product-name {
    font-size: 15px;
    color: var(--color-black);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}
