/* Werner Forster - Base Styles */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/playfair-display@5.0.0/index.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.0/index.css');

:root {
    --primary: #c75b39;
    --secondary: #8b9a7d;
    --accent: #d4a574;
    --background: #faf7f2;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --border: #e8e4df;
    --shadow: rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.wf-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.wf-hdr {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
}

.wf-hdr-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.wf-logo {
    flex-shrink: 0;
}

.wf-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.wf-logo span {
    color: var(--accent);
    font-weight: 400;
}

.wf-srch {
    flex: 1 1 auto;
    max-width: 400px;
    margin: 0 30px;
    position: relative;
    min-width: 200px;
}

.wf-srch input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    background: var(--background);
    transition: border-color 0.3s;
}

.wf-srch input:focus {
    outline: none;
    border-color: var(--primary);
}

.wf-srch button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-hdr-actions {
    display: block;
    text-align: right;
}

.wf-hdr-actions .wf-curr-sel,
.wf-hdr-actions .wf-cart {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.wf-cart {
    position: relative;
    padding: 10px;
    font-size: 20px;
}

.wf-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-curr-sel {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

/* Navigation */
.wf-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 14px 0;
}

.wf-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.wf-nav a:hover {
    color: var(--primary);
}

.wf-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.wf-nav a:hover::after {
    width: 100%;
}

/* Footer */
.wf-ftr {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.wf-ftr-logo {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.wf-ftr-logo span {
    color: var(--accent);
}

.wf-ftr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.wf-ftr-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wf-ftr-col ul {
    list-style: none;
}

.wf-ftr-col li {
    margin-bottom: 10px;
}

.wf-ftr-col a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s;
}

.wf-ftr-col a:hover {
    color: var(--white);
}

.wf-ftr-btm {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Buttons */
.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
}

.wf-btn-prim {
    background: var(--primary);
    color: var(--white);
}

.wf-btn-prim:hover {
    background: #a84a2e;
    transform: translateY(-2px);
}

.wf-btn-sec {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.wf-btn-sec:hover {
    background: var(--primary);
    color: var(--white);
}

/* Product Cards */
.wf-p-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wf-p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow);
}

.wf-p-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--background);
}

.wf-p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.wf-p-card:hover .wf-p-img img {
    transform: scale(1.05);
}

.wf-p-info {
    padding: 20px;
}

.wf-p-tit {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.wf-p-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.wf-p-price del {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 8px;
}

/* Grid Layouts */
.wf-grid {
    display: grid;
    gap: 24px;
}

.wf-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wf-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wf-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Section Styles */
.wf-sec {
    padding: 80px 0;
}

.wf-sec-tit {
    text-align: center;
    margin-bottom: 50px;
}

.wf-sec-tit h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.wf-sec-tit p {
    color: var(--text-light);
    font-size: 16px;
}

/* Notification */
.wf-notif {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.wf-notif.show {
    transform: translateX(0);
}

/* Page Content Styles */
.wf-page {
    padding: 60px 0;
}

.wf-page h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
}

.wf-page-content {
    background: var(--white);
    border-radius: 8px;
    padding: 50px;
}

.wf-page-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.wf-page-content h2:first-of-type {
    margin-top: 0;
}

.wf-page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.wf-page-content ul,
.wf-page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.wf-page-content li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-light);
}

.wf-page-content a {
    color: var(--primary);
    text-decoration: underline;
}

.wf-page-content a:hover {
    color: #a84a2e;
}

.wf-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.wf-table th,
.wf-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.wf-table th {
    background: var(--background);
    font-weight: 600;
    color: var(--text);
}

.wf-table tr:hover {
    background: var(--background);
}

/* Responsive */
@media (max-width: 1024px) {
    .wf-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wf-page h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .wf-hdr-top {
        flex-wrap: wrap;
    }
    
    .wf-srch {
        display: none;
    }
    
    .wf-hdr-actions {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .wf-nav {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 14px 24px;
    }
    
    .wf-grid-3, .wf-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wf-ftr-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wf-page h1 {
        font-size: 28px;
    }
    
    .wf-page-content {
        padding: 30px 20px;
    }
    
    .wf-table {
        font-size: 14px;
    }
    
    .wf-table th,
    .wf-table td {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .wf-grid-2, .wf-grid-3, .wf-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .wf-sec-tit h2 {
        font-size: 28px;
    }
    
    .wf-page h1 {
        font-size: 24px;
    }
}
