/* Gold Sweet Cris SRL – shadcn-inspired premium theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* shadcn-style tokens (comma-separated for hsl()) */
  --background: 0, 0%, 99%;
  --foreground: 240, 10%, 3.9%;
  --card: 0, 0%, 100%;
  --card-foreground: 240, 10%, 3.9%;
  --primary: 43, 74%, 49%;
  --primary-foreground: 0, 0%, 100%;
  --secondary: 240, 4.8%, 95.9%;
  --secondary-foreground: 240, 5.9%, 10%;
  --muted: 240, 4.8%, 95.9%;
  --muted-foreground: 240, 3.8%, 46.1%;
  --accent: 43, 74%, 49%;
  --accent-foreground: 0, 0%, 100%;
  --border: 240, 5.9%, 90%;
  --input: 240, 5.9%, 90%;
  --ring: 43, 74%, 49%;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-serif: Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; }
html { height: 100%; width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header – premium gold bar */
.site-header {
  width: 100%;
  max-width: 100vw;
  background: linear-gradient(180deg, hsl(43, 35%, 97%) 0%, hsl(43, 28%, 95%) 100%);
  border-bottom: 3px solid hsl(var(--primary));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.12);
}
.header-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
  min-width: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: hsl(240, 10%, 12%);
  font-weight: 600;
  font-size: 1.05rem;
  min-width: 0;
  flex-shrink: 0;
}
.logo-link img {
  height: 44px;
  width: auto;
  max-width: 140px;
  margin-right: 0.5rem;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  background: hsl(var(--primary));
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: hsl(var(--primary-foreground));
}
.nav-toggle:hover { filter: brightness(1.05); }
.nav {
  display: flex;
  gap: 0.25rem;
}
.nav a {
  padding: 0.5rem 0.875rem;
  text-decoration: none;
  color: hsl(240, 8%, 28%);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.nav a[href="index.html"] { font-weight: 600; color: hsl(240, 10%, 12%); }
.nav a[href="index.html"]:hover { color: hsl(var(--primary-foreground)); }

/* Main */
main { max-width: 1100px; width: 100%; min-width: 0; margin: 0 auto; padding: 2rem 1.5rem 4rem; min-height: 60vh; }

/* Footer – premium dark */
.site-footer {
  width: 100%;
  background: hsl(240 10% 6%);
  color: hsl(0 0% 98%);
  margin-top: auto;
  padding: 2.5rem 0;
  border-top: 1px solid hsl(240 6% 16%);
}
.footer-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-logo { flex-shrink: 0; display: block; }
.footer-logo img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(1.08);
}
.site-footer a { color: hsl(var(--primary)); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { font-weight: 600; font-size: 1rem; }
.footer-contact { font-size: 0.9rem; line-height: 1.65; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; color: hsl(0 0% 72%); }

/* Buttons – shadcn-style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-md); filter: brightness(0.95); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring)); }

/* Hero – premium section */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, hsla(43, 74%, 49%, 0.08) 0%, transparent 55%);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 1.75rem;
  color: hsl(var(--muted-foreground));
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Summary cards – full width, horizontal layout */
.home-summary { margin-bottom: 3.5rem; }
.home-summary .section-title {
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.summary-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.summary-card:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--border));
}
.summary-card-image-link {
  display: block;
  flex: 0 0 42%;
  min-height: 220px;
  overflow: hidden;
  background: hsl(var(--muted));
}
.summary-card-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}
.summary-card:hover .summary-card-img { transform: scale(1.03); }
.summary-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.summary-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.summary-card-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  flex: 1;
}
.summary-card-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 640px) {
  .summary-card { flex-direction: column; }
  .summary-card-image-link { flex: 0 0 auto; min-height: 200px; }
  .summary-card-img { min-height: 200px; }
}

/* Section */
.section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  transition: box-shadow 0.2s;
}
.gallery-grid img:hover { box-shadow: var(--shadow-md); }
.gallery-hint { margin: 0 0 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.gallery-grid .gallery-item { cursor: pointer; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Product grid – card style */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}
.product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: hsl(var(--border)); }
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}
.product-card h3 { margin: 0 0 0.25rem; font-size: 1.0625rem; font-weight: 600; }
.product-card .price { color: hsl(var(--primary)); font-weight: 700; margin-bottom: 0.75rem; font-size: 1rem; }
.product-card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.product-card .product-card-actions .btn { margin: 0; }
.product-card .btn { margin-top: 0.5rem; text-align: center; flex-shrink: 0; }
.product-card a:first-of-type { text-decoration: none; color: inherit; }
.product-card h3 { overflow-wrap: break-word; word-wrap: break-word; }
.product-card h3 a { color: hsl(var(--foreground)); transition: color 0.15s; }
.product-card h3 a:hover { color: hsl(var(--primary)); }
img { max-width: 100%; height: auto; }

/* Product detail */
.product-back { margin-bottom: 1.25rem; }
.product-back a { color: hsl(var(--muted-foreground)); text-decoration: none; font-size: 0.9375rem; }
.product-back a:hover { color: hsl(var(--primary)); }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 700px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-detail-image { position: sticky; top: 5.5rem; }
.product-detail-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  object-fit: contain;
  background: hsl(var(--muted));
}
.product-price { font-size: 1.25rem; font-weight: 700; color: hsl(var(--primary)); margin: 0 0 1rem; }
.product-description { margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }

/* Blog */
.blog-intro { color: hsl(var(--muted-foreground)); margin: 0 0 1.5rem; max-width: 640px; font-size: 0.9375rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-image-link { display: block; line-height: 0; }
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: hsl(var(--muted));
}
.blog-card-body { padding: 1.375rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.blog-card-title a { color: hsl(var(--foreground)); text-decoration: none; transition: color 0.15s; }
.blog-card-title a:hover { color: hsl(var(--primary)); }
.blog-card-excerpt { margin: 0 0 0.75rem; color: hsl(var(--muted-foreground)); font-size: 0.9375rem; line-height: 1.5; flex: 1; }
.blog-card-link { font-weight: 600; color: hsl(var(--primary)); text-decoration: none; font-size: 0.9375rem; }
.blog-card-link:hover { text-decoration: underline; }

.home-blog { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.home-blog-more { margin: 1.5rem 0 0; text-align: center; }

/* Blog article */
.blog-back a { color: hsl(var(--muted-foreground)); text-decoration: none; }
.blog-back a:hover { color: hsl(var(--primary)); }
.blog-article { max-width: 720px; width: 100%; overflow-wrap: break-word; }
.blog-article-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.blog-article-content { line-height: 1.7; }
.blog-article-content h2 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.blog-article-content p { margin: 0 0 1rem; color: hsl(var(--foreground)); }

/* About */
.about-block {
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.about-block:last-of-type { border-bottom: none; }
.about-block h2 { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 600; }
.about-block ul { margin: 0; padding-left: 1.25rem; }
.team-image-wrap { margin-bottom: 1.5rem; }
.team-image {
  max-width: 100%;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
}
.team-list { list-style: none; padding-left: 0; }
.team-list li { padding: 0.5rem 0; border-bottom: 1px solid hsl(var(--border)); }
.team-list li:last-child { border-bottom: none; }

/* Contact – form inputs shadcn-style */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p { margin: 0 0 0.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsla(43, 74%, 49%, 0.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-feedback { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9375rem; }
.form-feedback-success { background: hsl(142 76% 96%); color: hsl(142 72% 29%); border: 1px solid hsl(142 69% 88%); }
.form-feedback-error { background: hsl(0 86% 97%); color: hsl(0 72% 39%); border: 1px solid hsl(0 80% 90%); }
.form-feedback-error a { color: hsl(0 72% 39%); font-weight: 600; }

/* Legal */
.text-muted { color: hsl(var(--muted-foreground)); font-size: 0.9375rem; margin: 0 0 1.5rem; }
.legal-content { max-width: 720px; width: 100%; overflow-wrap: break-word; }
.legal-block { margin-bottom: 1.75rem; }
.legal-block h2 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.5rem; }
.legal-block p { margin: 0 0 0.5rem; }
.legal-block a { color: hsl(var(--primary)); }

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(240 10% 6%);
  color: hsl(0 0% 98%);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 999;
  border-top: 1px solid hsl(240 6% 16%);
  box-shadow: 0 -4px 12px rgb(0 0 0 / 0.15);
}
.cookie-consent p { margin: 0; font-size: 0.9rem; overflow-wrap: break-word; word-wrap: break-word; max-width: 100%; }
.cookie-consent a { color: hsl(var(--primary)); }
.btn-consent { padding: 0.5rem 1rem; font-size: 0.9rem; flex-shrink: 0; }

/* Responsive nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, hsl(43, 35%, 97%) 0%, hsl(43, 28%, 95%) 100%);
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid hsl(var(--primary));
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    margin: 0 1rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  main { padding: 1.25rem 1rem 2.5rem; }
  .section-title { font-size: 1.35rem; }
  .hero { padding: 2rem 1rem 2.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.9375rem; }
  .product-detail-image { position: static; }
  .product-detail-image img { max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; padding: 0 1rem; }
  .footer-contact { font-size: 0.875rem; }
  .cookie-consent { padding: 0.75rem 1rem; flex-direction: column; gap: 0.5rem; text-align: center; }
  .cookie-consent p { font-size: 0.875rem; }
  .legal-content, .blog-article { width: 100%; padding: 0 0.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .header-inner { padding: 0.75rem 1rem; }
  .logo-link img { height: 36px; max-width: 120px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .product-card { padding: 1rem; }
  .blog-card-body { padding: 1rem; }
}
