html, body {
    margin: 0;
    padding: 0;
}


@media (max-width: 768px) and (orientation: portrait) {
    .bg-style {
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.size-btn {
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.size-btn:hover:not(:disabled) {
    border-color: #333;
    background-color: #f0f0f0;
    color: #333;
}

.size-btn.selected {
    border-color: #333;
    background-color: #333;
    color: white;
}

.size-btn:disabled {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.size-btn:disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    right: -10%;
    height: 1px;
    background: #ddd;
    transform: rotate(-20deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.header-el:hover {
    color: oklch(55.1% 0.027 264.364);
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.filter-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.filter-accordion-item.active .filter-accordion-content { max-height: 500px; }
.filter-accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-icon { transition: transform 0.3s ease; }

.mobile-filters {
    transition: transform 0.3s ease-in-out;
}

.size-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.size-modal.active {
    display: flex;
}

.size-modal-content {
    background: white;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.size-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.size-table th,
.size-table td {
    border: 1px solid #e5e5e5;
    padding: 12px;
    text-align: center;
}

.size-table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

.size-table td.highlight {
    background-color: #f0f0f0;
    font-weight: 500;
}

.size-guide-section {
    margin-bottom: 2rem;
}

.size-guide-section h4 {
    margin-bottom: 1rem;
    color: #333;
}

.active-category {
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-img {
    background: url('/static/images/about.jpg');
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.pagination a:hover {
    background-color: #f9fafb;
}

.pagination .current {
    background-color: #000;
    color: white;
    border-color: #000;
}

.pagination .disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.masonry-item {
    break-inside: avoid;
}

.lookbook {
    background: url("/static/images/lookbook.jpg");
}

.form-input {
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-input:focus {
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
    outline: none;
}

.prose h2 { font-size: 1.5em; font-weight: 600; margin-top: 2em; margin-bottom: 1em; }
.prose h3 { font-size: 1.25em; font-weight: 600; margin-top: 1.5em; margin-bottom: 0.75em; }
.prose p, .prose li { color: #4a5568; line-height: 1.7; }
.prose ul { list-style-type: disc; padding-left: 1.5em; }