/* ==========================================================================
   Nikidom — main stylesheet
   Tokens → Reset → Typography → Layout
   Component and page CSS are enqueued individually via inc/enqueue.php.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (CSS custom properties)
   Colours from Figma VEC_nikidom_roller (fileKey: GiSqxyXAL2k0PDS3XUfqE9)
   -------------------------------------------------------------------------- */

:root {
  /* Colours */
  --color-primary: #f00;          /* brand red: B2B button, labels, accent, logo */
  --color-secondary: #000;        /* black: active states, pagination, emphasis */
  --color-text: #040404;          /* near-black: nav, body copy */
  --color-text-muted: #aaa;       /* muted grey: subcategories, footer links */
  --color-bg: #fff;               /* page / header background */
  --color-bg-alt: #f4f4f4;        /* product cards, inputs, filter buttons */
  --color-border: #dadada;        /* search / input borders */
  --color-border-muted: #aaa;     /* filter dropdown borders */
  --color-star: #F9BF3B;           /* amber: star ratings — filled */
  --color-star-empty: #D9D9D9;    /* grey: star ratings — empty background */
  --color-success: #22c55e;
  --color-warn: #f59e0b;
  --color-error: #e13c29;         /* sale / error indicator (from Figma) */
  --color-sale: #e13c29;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Type scale — matches Figma measurements */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px — nav, cards, labels */
  --text-base: 1rem;    /* 16px — footer heads, subtitles */
  --text-lg: 1.125rem;  /* 18px — section subtitles */
  --text-xl: 1.5rem;    /* 24px */
  --text-2xl: 1.875rem; /* 30px */
  --text-3xl: 2.25rem;  /* 36px — hero heading */

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 15px;   /* product cards (Figma) */
  --radius-xl: 18px;   /* product card variant (Figma) */
  --radius-pill: 999px; /* pill buttons: B2B, EN, search */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 6%);
  --shadow-md: 0 4px 4px rgb(0 0 0 / 20%); /* nav dropdown */
  --shadow-lg: 0 12px 32px rgb(0 0 0 / 12%);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Layout */
  --container-max: 1920px;
  --container-inner: 1190px;
  --header-height: 79px;
}

/* --------------------------------------------------------------------------
   2. Reset (Josh Comeau-style, adapted for WordPress)
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  hanging-punctuation: first last;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   3. Form controls — radio buttons
   -------------------------------------------------------------------------- */

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

input[type="radio"]:checked {
  background: radial-gradient(circle, var(--color-secondary) 7px, var(--color-bg-alt) 7px);
  left:0;
}

input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Base typography
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw + 1rem, var(--text-3xl));
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 1.5vw + 0.75rem, var(--text-2xl));
  font-weight: 500;
  line-height: 1.25;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1vw + 0.5rem, var(--text-xl));
  font-weight: 500;
  line-height: 1.3;
}

h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.4;
}

p {
  line-height: 1.6;
}

a:hover {
  text-decoration: underline;
}

strong,
b {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. Layout utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-inner);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#main {
  min-height: calc(100vh - 300px);
}

/* WooCommerce overrides are added per step. */

/* --------------------------------------------------------------------------
   6. Global button primitives — used by B2B header button, hero CTAs, etc.
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5);
  height: 35px;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.85;
}

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

.btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* --------------------------------------------------------------------------
   7. Mobile — global fixes
   -------------------------------------------------------------------------- */

/* Prevent iOS Safari zoom on input focus (requires font-size ≥ 16px on all inputs) */
@media (width <= 767px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 1rem;
  }
}
.cookie-policy-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin: 0 auto;
}

/* Tipografie & Structura */
.cookie-policy-container h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 40px 0 18px;
}

.cookie-policy-container h2:first-of-type {
  margin-top: 20px;
}

.cookie-policy-container p {
  margin: 0 0 16px;
  color: #334155;
}

.cookie-policy-container p strong,
.cookie-policy-container ul strong {
  font-weight: 600;
  color: #0f172a;
}

.cookie-policy-container a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-policy-container ul {
  margin: 0 0 20px;
}

.cookie-policy-container li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.cookie-policy-container li:last-child {
  margin-bottom: 0;
}

.cookie-policy-container .list-label {
  margin: 0 0 10px;
  font-weight: 600;
  color: #0f172a;
}

/* Tabela de Cookie-uri */
.cookie-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  min-width: 720px;
}

.cookie-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  background-color: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}

.cookie-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.cookie-table tr:nth-child(even) {
  background-color: #f9fafb;
}

.cookie-table tr:nth-child(odd) {
  background-color: #ffffff;
}

.cookie-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.cookie-table .col-duration,
.cookie-table .col-provider {
  color: #64748b;
  white-space: nowrap;
}

/* Badge-uri de categorie */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-necessary {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.badge-functional {
  background-color: #f0fdf4;
  color: #15803d;
}

.badge-language {
  background-color: #fefce8;
  color: #a16207;
}

/* Casete de contact */
.contact-card {
  padding: 20px 22px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 0 0 16px;
}

.contact-card .card-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.contact-card p {
  margin: 0 0 6px;
}

.contact-card .field-label {
  display: inline-block;
  min-width: 74px;
  color: #64748b;
}

.contact-card .card-footer {
  margin: 10px 0 0;
  font-size: 14px;
  color: #64748b;
  font-style: italic;
}
.wp-singular #main ul, .wp-singular #main ol{
  list-style-type:initial!important;
  padding: 0 0 0 20px;
}

