/*
Theme Name: Merupakan Theme
Theme URI: https://merupakan.id/commerce
Author: Merupakan Ide Kultura
Author URI: https://merupakan.id/commerce
Description: Custom e-commerce theme untuk Merupakan Commerce plugin. Menggunakan Tailwind CSS dan Alpine.js.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: merupakan-theme
*/

/* Base styles - colors are injected via CSS variables from plugin settings */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide elements with x-cloak until Alpine loads */
[x-cloak] {
    display: none !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ecomm-surface, #f8fafc);
}

::-webkit-scrollbar-thumb {
    background: var(--ecomm-border, #e2e8f0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ecomm-secondary, #64748b);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--ecomm-primary, #2563eb);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--ecomm-primary, #2563eb);
    color: white;
}
