/**
 * ============================================================================
 * MODERN CSS RESET
 * Priya Glam Studio & Academy
 * ============================================================================
 *
 * Purpose:
 * - Normalize browser defaults
 * - Establish predictable box sizing
 * - Reset inconsistent margins and media behavior
 * - Preserve semantic HTML
 *
 * Do NOT place:
 * - Brand colors
 * - Typography design
 * - Layout containers
 * - Page-specific rules
 *
 * Those belong in variables.css, typography.css and global.css.
 * ============================================================================
 */


/* ============================================================================
   DOCUMENT
   ============================================================================ */

html {
    box-sizing: border-box;
    min-width: 320px;

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


/* ============================================================================
   UNIVERSAL BOX MODEL
   ============================================================================ */

*,
*::before,
*::after {
    box-sizing: inherit;
}


/* ============================================================================
   BASE ELEMENT RESET
   ============================================================================ */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    line-height: 1.6;

    overflow-wrap: break-word;
}


/* ============================================================================
   TYPOGRAPHIC ELEMENTS
   ============================================================================ */

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}


/* ============================================================================
   LISTS
   ============================================================================ */

ul,
ol {
    margin: 0;
    padding: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}


/* ============================================================================
   LINKS
   ============================================================================ */

a {
    background-color: transparent;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}


/* ============================================================================
   MEDIA
   ============================================================================ */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

img {
    border-style: none;
}


/* ============================================================================
   FORM ELEMENTS
   ============================================================================ */

button,
input,
optgroup,
select,
textarea {
    margin: 0;

    font: inherit;
    color: inherit;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

textarea {
    resize: vertical;
}


/* ============================================================================
   FORM FIELD NORMALIZATION
   ============================================================================ */

input,
textarea,
select,
button {
    border-radius: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}


/* ============================================================================
   TABLES
   ============================================================================ */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ============================================================================
   EMBEDDED / INTERACTIVE CONTENT
   ============================================================================ */

iframe,
embed,
object {
    max-width: 100%;
}

summary {
    cursor: pointer;
}


/* ============================================================================
   HIDDEN CONTENT
   ============================================================================ */

[hidden] {
    display: none !important;
}


/* ============================================================================
   HORIZONTAL RULE
   ============================================================================ */

hr {
    box-sizing: content-box;
    height: 0;

    overflow: visible;

    border: 0;
    border-top: 1px solid currentColor;
}


/* ============================================================================
   ABBREVIATIONS
   ============================================================================ */

abbr[title] {
    text-decoration: underline dotted;
    text-decoration-skip-ink: none;
}


/* ============================================================================
   SUPERSCRIPT / SUBSCRIPT
   ============================================================================ */

sub,
sup {
    position: relative;

    font-size: 75%;
    line-height: 0;

    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}
