/*
Theme Name: CAVUNET
Theme URI: https://cavunet.com
Author: CAVUNET
Author URI: https://cavunet.com
Description: A minimalist WordPress theme designed for CAVUNET, featuring 1px precision red grids, book index table layout with floating cover hover preview, dynamic sticky product detail page, full WordPress Customizer support, admin field label settings, and WooCommerce compatibility.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cavunet
Tags: ecommerce, grid-layout, custom-menu, minimal, red-accent, woocommerce, responsive-layout, custom-logo, options-framework
*/

/* CSS Variables (Black Line System & Full-Width Layout) */
:root {
  --cavunet-line: #111111;
  --cavunet-red: #111111; /* 사이트 내 모든 선 색상을 블랙으로 변경 */
  --cavunet-accent-red: #e60000;
  --cavunet-red-light: rgba(17, 17, 17, 0.05);
  --cavunet-black: #111111;
  --cavunet-white: #ffffff;
  --cavunet-gray-dark: #333333;
  --cavunet-gray-muted: #888888;
  --cavunet-gray-light: #f7f7f7;
  --cavunet-border-color: #111111;
  --cavunet-bg: #ffffff;
  --cavunet-font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --cavunet-font-serif: 'Georgia', 'Times New Roman', serif;
}

html.cavunet-dark-theme,
body.cavunet-dark-theme,
[data-theme="dark"],
html[data-theme="dark"] body {
  --cavunet-line: rgba(255, 255, 255, 0.2);
  --cavunet-red: #ffffff;
  --cavunet-accent-red: #00f0ff;
  --cavunet-red-light: rgba(255, 255, 255, 0.08);
  --cavunet-black: #ffffff;
  --cavunet-white: #000000;
  --cavunet-gray-dark: #e4e4e7;
  --cavunet-gray-muted: #a1a1aa;
  --cavunet-gray-light: #18181b;
  --cavunet-border-color: rgba(255, 255, 255, 0.2);
  --cavunet-bg: #000000;
  background-color: #000000 !important;
  color: #ffffff !important;
}

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

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--cavunet-font-sans);
  color: var(--cavunet-black);
  background-color: var(--cavunet-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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