/* StyMetics NewSite — Main Styling System */
/* Contains variables, layout rules, and standard page resets */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    /* === FONTS === */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Hind Siliguri", "Jost", sans-serif;
    --font-nav: "Montserrat", "Hind Siliguri", sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;

    /* === ACCENT COLORS === */
    --color-burgundy: #630D16;
    --color-burgundy-dk: #4a0a10;
    --color-burgundy-lt: #8B1520;
    --color-burgundy-glow: rgba(99, 13, 22, 0.15);
    --color-sand: #D7C4B1;
    --color-sand-lt: #EDE4DA;
    --color-sand-dark: #a08060;
    --color-sand-xlt: #F7F3EF;

    /* === NEUTRALS === */
    --color-charcoal: #2D2D2D;
    --color-charcoal-lt: #4A4A4A;
    --color-charcoal-xlt: #F5F5F5;
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* === STATUS COLORS === */
    --color-success: #22c55e;
    --color-success-bg: rgba(34, 197, 94, 0.08);
    --color-success-border: rgba(34, 197, 94, 0.15);
    --color-warning: #f59e0b;
    --color-warning-bg: rgba(245, 158, 11, 0.08);
    --color-warning-border: rgba(245, 158, 11, 0.15);
    --color-error: #ef4444;
    --color-error-bg: rgba(239, 68, 68, 0.08);
    --color-error-border: rgba(239, 68, 68, 0.15);
    --color-info: #3b82f6;
    --color-info-bg: rgba(59, 130, 246, 0.08);
    --color-info-border: rgba(59, 130, 246, 0.15);

    /* === BOX MODEL === */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(99, 13, 22, 0.05);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.02);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* === MEASURES === */
    --container-max-width: 1280px;
    --header-height-scrolled: 70px;
    --header-height-normal: 90px;
}

/* === BASE RESETS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-sand-xlt);
    color: var(--color-charcoal);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* === BRAND LOGO UNIVERSAL BOUNDS === */
.logo, .logo-link, .nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-mark,
.mobile-logo-mark,
.footer-logo-mark {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0;
    display: inline-block;
}

.logo-text,
.mobile-logo-text,
.footer-logo-text {
    height: 22px !important;
    width: auto !important;
    max-height: 22px !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: inline-block;
}

.minimal-logo,
.checkout-nav-logo img,
.login-logo img,
.auth-logo img {
    height: 32px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: inline-block;
}

.admin-logo-img,
.admin-logo img {
    height: 30px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
    display: inline-block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* === LAYOUT UTILITIES === */
.container,
.container-custom {
    width: 100%;
    max-width: var(--container-max-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .container,
    .container-custom {
        padding: 0 1rem;
    }
}

.flex-grow {
    flex-grow: 1;
}

/* Main content flow */
main {
    flex-grow: 1;
    min-height: calc(100vh - 200px);
}

/* Spacing & Layout Utilities */
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-8  { padding-top: 2rem; padding-bottom: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.overflow-hidden { overflow: hidden; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-muted { color: #666; }
.text-burgundy { color: var(--color-burgundy); }
.text-gold { color: #b89758; }

@media (max-width: 768px) {
    .py-24 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .order-md-1 { order: 1; }
    .order-md-2 { order: 2; }
}

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

::-webkit-scrollbar-track {
    background: var(--color-sand-xlt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sand);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sand-dark);
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 4rem; /* Mobile Bottom Navigation padding */
    }
}
