/*
Theme Name: dotri
Theme URI: https://dotri.sk
Description: dotri — premium darčekové tričká (child Twenty Twenty-Five). Night-sky/gold estetika: navy #0B1026, zlatá #C9A86A, ivory #F4F0E6. Lokálne fonty Cormorant Garamond + Jost (GDPR).
Author: Linda (AI) pre LAMPADA LIGHTING a.s.
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.6
Tested up to: 7.0
Text Domain: dotri
*/

/* --- Hviezdna obloha (jemná, fixná) --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(244,240,230,.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(244,240,230,.4), transparent),
    radial-gradient(1px 1px at 33% 58%, rgba(201,168,106,.55), transparent),
    radial-gradient(1.5px 1.5px at 64% 72%, rgba(244,240,230,.45), transparent),
    radial-gradient(1px 1px at 88% 46%, rgba(244,240,230,.35), transparent),
    radial-gradient(1px 1px at 47% 30%, rgba(201,168,106,.45), transparent),
    radial-gradient(1.5px 1.5px at 22% 80%, rgba(244,240,230,.4), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(244,240,230,.3), transparent),
    radial-gradient(ellipse at 50% 0%, rgba(201,168,106,.08), transparent 60%);
}
body > * { position: relative; z-index: 1; }

/* --- Wordmark --- */
.dt-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: #F4F0E6;
  text-decoration: none;
  font-size: 1.9rem;
  display: inline-flex;
  align-items: baseline;
}
.dt-wordmark .star { color: #C9A86A; font-size: .55em; vertical-align: super; margin-left: .1em; }
.dt-wordmark:hover { color: #E6CE94; }

/* --- Sticky hlavička --- */
header.wp-block-group {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
body.admin-bar header.wp-block-group { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header.wp-block-group { top: 46px; }
}

/* --- Navigácia + košík v hlavičke --- */
.dt-nav a { color: #F4F0E6 !important; text-decoration: none; }
.dt-nav a:hover { color: #E6CE94 !important; }
.dt-cart-link { white-space: nowrap; }

/* --- CTA tlačidlá: zlatý gradient, tmavý text --- */
.wp-block-button__link,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #place_order,
.wc-block-components-button {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  filter: brightness(1.08);
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce #place_order,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt {
  background: linear-gradient(135deg, #E6CE94, #C9A86A);
  color: #1a1408;
  border: none;
  border-radius: 999px;
}
.woocommerce button.button.alt:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce #place_order:hover {
  background: linear-gradient(135deg, #E6CE94, #C9A86A);
  filter: brightness(1.1);
  color: #1a1408;
}

/* --- Woo formuláre a karty na tmavom pozadí --- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,106,.28);
  border-radius: 10px;
  color: #F4F0E6;
  padding: .65rem .8rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: #C9A86A;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,106,.15);
}
.select2-container--default .select2-selection--single {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,106,.28);
  border-radius: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #F4F0E6; }
.woocommerce table.shop_table {
  border: 1px solid rgba(201,168,106,.28);
  border-radius: 12px;
}
.woocommerce table.shop_table td, .woocommerce table.shop_table th {
  border-color: rgba(201,168,106,.18);
}
.woocommerce-checkout #payment,
.woocommerce form.checkout_coupon, .woocommerce form.login {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,106,.28);
  border-radius: 12px;
}
.woocommerce-checkout #payment div.payment_box {
  background: rgba(201,168,106,.1);
  color: #F4F0E6;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: rgba(201,168,106,.1); }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: rgba(255,255,255,.05);
  color: #F4F0E6;
  border-top-color: #C9A86A;
}
.woocommerce-info a, .woocommerce-message a { color: #E6CE94; }
.woocommerce ul.order_details li { color: #9AA0B5; }
.woocommerce ul.order_details li strong { color: #F4F0E6; }

/* --- Ceny zlatou --- */
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce ul.products li.product .price { color: #E6CE94; }

/* --- Konfigurátor (biela karta z triska-designer) — zlaté akcenty --- */
.tk-configurator { border-color: rgba(201,168,106,.4); }
.tk-btn { background: #C9A86A; color: #1a1408; }
.tk-btn:hover { background: #E6CE94; color: #1a1408; }
.tk-swatch.sel { box-shadow: 0 0 0 2px #C9A86A; }

/* --- Poznámka pod tlačidlami / drobný text --- */
.dt-muted { color: #9AA0B5; }

/* --- Ozdobná linka so ✦ --- */
.dt-rule { display: flex; align-items: center; gap: 14px; justify-content: center; color: #C9A86A; margin: 1.5rem auto; }
.dt-rule .l { height: 1px; width: 46px; background: rgba(201,168,106,.28); }
