@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
    /* Colors - "Vendre Blanc" Concept */
    --bg:          #ffffff;
    --bg-alt:      #fcfaf7; /* Very subtle warm paper tint */
    --text:        #1a1a1a;
    --text-muted:  #666666;
    --primary:     #9e1a1a; /* Deep Crimson */
    --primary-light:#c0392b;
    --accent:      #d4af37; /* Imperial Gold */
    --border:      #e5e5e5;
    --border-gold: rgba(212, 175, 55, 0.3);
    
    /* UI Elements */
    --radius:      4px; /* More professional, less rounded */
    --radius-lg:   8px;
    --shadow:      0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.1);
    --nav-h:       80px;
    --max-w:       1400px;
    --tr:          all .3s cubic-bezier(.4,0,.2,1);
    
    /* Fonts */
    --font-t:      'Cinzel', serif;
    --font-jp:     'Noto Serif JP', serif;
    --font-b:      'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior:smooth;
}

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height:1.6;
    overflow-x:hidden;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

a { color:inherit; text-decoration:none; transition: var(--tr); }
img { max-width:100%; height:auto; display:block }
button { cursor:pointer; border:none; font-family:inherit; transition: var(--tr); }
ul { list-style:none }
input,select,textarea { font-family:inherit; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; outline: none; transition: var(--tr); }
input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(158, 26, 26, 0.1); }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
    background: var(--text);
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    z-index: 1100;
}

.announcement-bar strong { color: var(--accent); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--tr);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-text {
    font-family: var(--font-t);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--text);
}

.nav-logo-text em { color: var(--primary); font-style: normal; }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon {
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    padding: 10rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--text);
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.4;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 2;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 3;
}

.hero-kanji {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-jp);
    font-size: 25rem;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
    line-height: 1;
    z-index: 2;
}

.hero-label {
    display: block;
    font-family: var(--font-t);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-t);
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title em {
    font-style: normal;
    color: var(--primary-light);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3.5rem;
    max-width: 550px;
    line-height: 1.7;
}

/* ============================================================
   CHARACTER COLLECTIONS
============================================================ */
.char-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.char-card {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-alt);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--tr);
}

.char-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.char-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--tr);
}

.char-card:hover img {
    filter: grayscale(0%);
}

.char-name {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--text);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    white-space: nowrap;
}

/* ============================================================
   SEO CONTENT
============================================================ */
.seo-block {
    background: var(--bg-alt);
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    column-count: 2;
    column-gap: 4rem;
    font-size: 0.95rem;
    text-align: justify;
}

.seo-content h2 {
    column-span: all;
    font-family: var(--font-t);
    color: var(--text);
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--text);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(158, 26, 26, 0.2);
}

.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--text);
    background: var(--bg-alt);
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: space-between;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.trust-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================================
   SECTIONS
============================================================ */
section { padding: 8rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: block;
    font-family: var(--font-t);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-t);
    font-size: 2.5rem;
    font-weight: 700;
}

/* ============================================================
   PRODUCT CARDS
============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-info {
    text-align: left;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-t);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.product-price span {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* ============================================================
   CATEGORIES GRID
============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 400px;
    background: var(--text);
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.5rem;
    color: #fff;
}

.category-content h3 {
    font-family: var(--font-t);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.category-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.3rem;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    padding: 6rem 0 3rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    font-family: var(--font-t);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.footer-logo em { color: var(--primary); font-style: normal; }

.footer-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-t);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-links li { margin-bottom: 1rem; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   SEO ELEMENTS & REASSURANCE
============================================================ */
.breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

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

.in-stock { color: #27ae60; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.out-of-stock { color: var(--primary); font-weight: 700; }

/* ============================================================
   REPORTS / FORMS
============================================================ */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-error { color: var(--primary); font-size: 0.75rem; margin-top: 0.3rem; font-weight: 600; }

/* ============================================================
   SHOP LAYOUT & FILTERS
============================================================ */
.shop-container { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; }
.shop-sidebar { position: sticky; top: 100px; }

.filter-group { margin-bottom: 2.5rem; border-bottom: 1px solid var(--bg-alt); padding-bottom: 1.5rem; }
.filter-group:last-child { border-bottom: none; }
.filter-title { font-family: var(--font-t); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }

.filter-list { display: flex; flex-direction: column; gap: 0.75rem; }
.filter-checkbox { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); }
.filter-checkbox:hover { color: var(--text); }
.filter-checkbox input { width: 16px; height: 16px; cursor: pointer; }
.filter-checkbox span { flex: 1; }

.price-inputs { display: flex; align-items: center; gap: 0.5rem; }
.price-inputs input { width: 80px; padding: 0.5rem; font-size: 0.85rem; }
.btn-apply { background: var(--text); color: #fff; padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 700; border-radius: 4px; }

.sort-select { width: 100%; padding: 0.75rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; cursor: pointer; }

.btn-clear { display: block; margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: underline; text-align: center; }
.btn-clear:hover { color: var(--primary); }

@media (max-width: 1024px) {
    .shop-container { grid-template-columns: 1fr; gap: 3rem; }
    .shop-sidebar { position: static; }
}

/* ============================================================
   SEARCH BAR
============================================================ */
.nav-search-wrapper { flex: 1; max-width: 400px; margin: 0 1.5rem; position: relative; }
.search-form { display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; padding: 0.1rem 0.4rem; }
.search-input { flex: 1; background: transparent; border: none; padding: 0.4rem 0.6rem; font-size: 0.85rem; outline: none; width: 100%; }
.search-btn { background: transparent; border: none; cursor: pointer; font-size: 1rem; padding: 0.2rem; display: flex; align-items: center; }

.search-suggestions {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border: 1px solid var(--border); border-top: none; z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 0 0 4px 4px;
}
.suggestion-item {
    padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: space-between;
    text-decoration: none; color: var(--text); border-bottom: 1px solid var(--bg-alt);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--bg-alt); }
.suggestion-text { font-size: 0.88rem; font-weight: 500; }
.suggestion-type {
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem; border-radius: 2px; font-weight: 700;
}
.suggestion-type.category { background: #e0f2fe; color: #0369a1; }
.suggestion-type.product { background: #fef2f2; color: #991b1b; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .nav-search-wrapper { max-width: 300px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 3.5rem; }
    .hero-kanji { font-size: 15rem; }
}

@media (max-width: 768px) {
    .nav-inner { flex-wrap: wrap; height: auto; padding: 1rem 2rem; }
    .nav-links { display: none; }
    .nav-search-wrapper { order: 3; flex: 1 1 100%; max-width: 100%; margin: 0.75rem 0 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: 1fr; }
    .trust-items { flex-direction: column; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
