/*
Theme Name: fanniqué
Theme URI: https://fannique.de
Author: fanniqué
Author URI: https://fannique.de
Description: Custom Theme für Atelier fanniqué — handcrafted + upcycled jewelry design. WooCommerce-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fannique
Tags: e-commerce, custom-logo, custom-menu, featured-images, woocommerce
*/

/* =========================================================
   Reset & Basis
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: rgb(115, 236, 193);
  --black: #000000;
  --white: #ffffff;
  --grey-bg: #f4f4f4;
  --grey-soft: #e8e8e8;
  --grey-disabled: #b8b8b8;
  --text: #000000;
  --text-muted: #555555;

  --font-display: impact, impact-w01-2010, sans-serif;
  --font-body: futura-lt-w01-light, futura-lt-w05-light, sans-serif;
  --font-script: "Caveat", cursive;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: normal;
  letter-spacing: 0;
}

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

/* =========================================================
   Top-Bar
   ========================================================= */
.topbar {
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.topbar-taglines {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.9);
}
.topbar-taglines span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.topbar-taglines .dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: inline-block;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-actions .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  color: var(--white);
  cursor: pointer;
  position: relative;
}
.topbar-actions .icon-btn:hover { color: var(--accent); }
.topbar-actions .icon-btn svg { width: 20px; height: 20px; }

.account-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: var(--black);
  padding: 4px 8px;
  border-radius: 999px;
}
.account-wrap:hover { color: var(--black); }
.account-wrap svg { width: 16px; height: 16px; }
.account-wrap .chevron { font-size: 10px; }

.cart-icon .badge {
  position: absolute;
  top: -4px; right: -8px;
  background: var(--white);
  color: var(--black);
  font-size: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  background: var(--white);
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.logo {
  font-family: var(--font-script);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  letter-spacing: 0.5px;
  text-align: center;
}
.logo small {
  display: block;
  font-size: 14px;
  margin-top: -2px;
}
.logo img {
  max-height: 70px;
  width: auto;
  margin: 0 auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.main-nav a {
  color: var(--black);
  padding: 6px 4px;
  display: inline-block;
}
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--accent); }
.main-nav a:hover { color: var(--accent); }

/* =========================================================
   Hero Video
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 36vw, 520px);
  overflow: hidden;
  background: #1a1a1a;
}
.hero video,
.hero .hero-placeholder,
.hero img.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
}
.hero-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(28px, 5vw, 72px);
  letter-spacing: 0.5em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
  opacity: 0.95;
}

/* =========================================================
   Sektion: Jewelry Design
   ========================================================= */
.section {
  padding: 80px 28px;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: lowercase;
  color: var(--text);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.01em;
  color: var(--black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.product-card { background: var(--white); }
.product-card .img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #2c2c2c;
  overflow: hidden;
  position: relative;
}
.product-card .img-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, #3a3a3a 0%, #1a1a1a 70%);
}
.product-card .img-wrap img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.product-card .product-name {
  font-family: var(--font-body);
  text-align: center;
  font-size: 14px;
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--grey-soft);
  color: var(--black);
}
.product-card .product-price {
  text-align: center;
  padding: 10px 0 14px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
}
.product-card .product-price del { color: var(--text-muted); margin-right: 6px; }
.product-card .product-price ins { text-decoration: none; }
.product-card .product-status {
  background: var(--grey-disabled);
  color: var(--white);
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.product-card .product-status.in-stock {
  background: var(--accent);
  color: var(--black);
}

/* =========================================================
   Schwarzer Streifen
   ========================================================= */
.shop-cta-bar {
  background: var(--black);
  padding: 40px 28px;
  text-align: center;
}
.btn-mint {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-mint:hover {
  background: rgb(95, 216, 173);
  color: var(--black);
  transform: translateY(-1px);
}

/* =========================================================
   your style, your choice
   ========================================================= */
.section-choice {
  background: var(--grey-bg);
  padding: 70px 28px 40px;
  text-align: center;
}
.section-choice .section-title { margin-bottom: 0; }

.carousel {
  position: relative;
  background: var(--black);
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 auto;
  width: clamp(180px, 16vw, 240px);
  height: clamp(180px, 16vw, 240px);
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}
.carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel-item .placeholder-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, #3a3a3a 0%, #1a1a1a 80%);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-btn:hover {
  background: var(--accent);
  color: var(--black);
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-btn svg { width: 20px; height: 20px; }

/* =========================================================
   About
   ========================================================= */
.section-about-title {
  background: var(--white);
  padding: 80px 28px 60px;
  text-align: center;
}
.about-block {
  background: var(--black);
  color: var(--white);
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}
.about-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(115, 236, 193, 0.08), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 100, 100, 0.06), transparent 60%);
  pointer-events: none;
}
.about-content {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.about-hi {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
}
.about-cols p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}
.about-cols p strong {
  color: var(--accent);
  font-weight: 400;
}

/* =========================================================
   follow me
   ========================================================= */
.follow-section {
  background: var(--black);
  color: var(--white);
  padding: 60px 28px 100px;
  text-align: center;
}
.follow-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 24px;
}
.follow-handle {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 20px;
  letter-spacing: 0.02em;
}
.follow-handle:hover {
  background: rgb(95, 216, 173);
  color: var(--black);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--accent);
  color: var(--black);
  padding: 36px 28px 24px;
  text-align: center;
  font-family: var(--font-body);
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-socials a {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  color: var(--black);
}
.footer-socials a:hover { opacity: 0.6; color: var(--black); }
.footer-socials svg { width: 20px; height: 20px; }

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.7);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .topbar { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .topbar-taglines { gap: 16px; font-size: 11px; }
  .topbar-taglines span { gap: 16px; }
  .section { padding: 56px 18px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-cols { grid-template-columns: 1fr; gap: 24px; }
  .main-nav ul { gap: 28px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-overlay-text { letter-spacing: 0.25em; }
}

/* =========================================================
   WordPress / WooCommerce Tweaks
   ========================================================= */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* WooCommerce-spezifisch */
.woocommerce ul.products li.product .price { color: var(--accent); font-family: var(--font-body); }
.woocommerce .button,
.woocommerce a.button,
.woocommerce-page .button {
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-body);
  border-radius: 0;
}
.woocommerce .button:hover { background: rgb(95, 216, 173); }
