/* Klesbutikk Child Theme — Overrides */

:root {
    --accent: #e11d48;
    --accent-hover: #be123c;
    --accent-light: #fff1f2;
    --accent-subtle: #fff5f6;
}

/* === Lookbook Section === */
.lookbook-section {
    padding: 80px 0;
}

.lookbook-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.lookbook-filter {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--text);
}

.lookbook-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lookbook-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lookbook-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lookbook-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.lookbook-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--border);
}

.lookbook-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.lookbook-item:hover .lookbook-image img {
    transform: scale(1.05);
}

.lookbook-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lookbook-info {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.lookbook-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading);
    margin: 0;
}

.lookbook-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* === Size Guide Section === */
.sizeguide-section {
    padding: 80px 0;
}

.sizeguide-tables {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}

.sizeguide-table h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--heading);
}

.sizeguide-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sizeguide-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.sizeguide-table th,
.sizeguide-table td {
    padding: 10px 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.sizeguide-table th {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
}

.sizeguide-table tr:nth-child(even) td {
    background: var(--accent-subtle);
}

.sizeguide-tip {
    max-width: 600px;
    margin: 32px auto 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--accent-light);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text);
}

.sizeguide-tip svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 1px;
}

.sizeguide-tip p {
    margin: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lookbook-grid { grid-template-columns: 1fr; }
    .sizeguide-table th,
    .sizeguide-table td { padding: 8px 10px; font-size: 0.8rem; }
}
