/*
 Theme Name:  LinkLens Labs Classic
 Theme URI:   https://linklenslabs.com
 Description: Core classic theme for LinkLens Labs — light, clean, plugin-focused.
 Author:      LinkLens Labs
 Author URI:  https://linklens.co
 Version:     1.0.0
 Text Domain: linklenslabs-classic
*/

/* -------------------------------------------------------------
   RESET / BASE
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;          /* slate-900 */
  background: #f3f4f6;     /* slate-100 */
}

/* Remove default WP margins */
.wp-site-blocks,
main {
  margin: 0;
  padding: 0;
}

/* Links */
a {
  color: #0f766e;          /* teal-700 */
  text-decoration: none;
}
a:hover {
  color: #115e59;          /* teal-800 */
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin-top: 0;
  color: #020617;          /* slate-950 */
}
h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

/* Paragraphs */
p {
  margin: 0 0 1rem;
  color: #1f2933;
}

/* Container */
.ll-max-width {
  max-width: 1100px;
  margin-inline: auto;
}

/* -------------------------------------------------------------
   HEADER
--------------------------------------------------------------*/
.ll-site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.ll-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.ll-site-title {
  color: #020617;
  font-size: 1.25rem;
  font-weight: 700;
}

.ll-site-tagline {
  color: #6b7280;          /* gray-500 */
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Navigation */
.ll-primary-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.ll-primary-nav a {
  color: #374151;          /* gray-700 */
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ll-primary-nav a:hover,
.ll-primary-nav .current-menu-item > a {
  color: #0f766e;
  opacity: 1;
}

/* -------------------------------------------------------------
   MAIN LAYOUT
--------------------------------------------------------------*/
.ll-main {
  padding: 2.5rem 1.5rem 3rem;
}

.entry-title {
  margin-bottom: 1rem;
  color: #020617;
}

.entry-content > * + * {
  margin-top: 1rem;
}

/* “Card” style wrapper utility (for docs, product pages, etc.) */
.ll-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

/* HR */
hr {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin: 2rem 0;
}

/* -------------------------------------------------------------
   FOOTER
--------------------------------------------------------------*/
.ll-site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem;
  margin-top: 3rem;
  color: #6b7280;
  background: #f9fafb;
  font-size: 0.9rem;
}

.ll-site-footer a {
  color: #0f766e;
}
.ll-site-footer a:hover {
  color: #115e59;
}

/* -------------------------------------------------------------
   FORMS / BUTTONS
--------------------------------------------------------------*/
input,
textarea,
select {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: #111827;
  width: 100%;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

button,
input[type="submit"],
.wp-block-button__link {
  background: #0f766e;
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: #115e59;
}

/* Ghost / subtle button utility */
.ll-btn-ghost {
  background: transparent;
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.35);
}
.ll-btn-ghost:hover {
  background: rgba(15, 118, 110, 0.04);
}

/* -------------------------------------------------------------
   BLOG META
--------------------------------------------------------------*/
.entry-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* -------------------------------------------------------------
   IMAGES
--------------------------------------------------------------*/
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* -------------------------------------------------------------
   TABLES
--------------------------------------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #ffffff;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

th {
  background: #f3f4f6;
  color: #111827;
}

/* -------------------------------------------------------------
   WIDGETS / SIDEBARS
--------------------------------------------------------------*/
.widget-area {
  padding: 1rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* -------------------------------------------------------------
   WOO COMMERCE – LIGHT LOOK
--------------------------------------------------------------*/
.woocommerce,
.woocommerce-page {
  color: #111827;
}

/* Links inside Woo */
.woocommerce a,
.woocommerce-page a {
  color: #0f766e;
}
.woocommerce a:hover,
.woocommerce-page a:hover {
  color: #115e59;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
}

.woocommerce-message {
  border-left: 4px solid #22c55e;
}

.woocommerce-error {
  border-left: 4px solid #ef4444;
}

.woocommerce-info {
  border-left: 4px solid #3b82f6;
}

/* Woo buttons */
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce input.button {
  background: #0f766e;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  border: none;
  font-weight: 600;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
  background: #115e59;
}

/* Product grid cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #020617;
  font-weight: 600;
}

/* Price */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #0f766e;
  font-weight: 600;
}

/* Single product */
.woocommerce div.product .product_title {
  color: #020617;
}

.woocommerce div.product .summary {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Cart / checkout tables */
.woocommerce-cart table,
.woocommerce-checkout table {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

/* Mini-cart dropdowns (if used) */
.woocommerce-mini-cart,
.woocommerce ul.cart_list,
.woocommerce ul.product_list_widget {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* -------------------------------------------------------------
   MISC / ACCESSIBILITY
--------------------------------------------------------------*/
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
