/*==========================================================
    Sean B Shop Marketplace
    File: assets/css/core/reset.css
    Description: Modern CSS Reset
==========================================================*/


/*==========================================================
    IMPORT VARIABLES
==========================================================*/

/*
    Load variables.css before this file.

    <link rel="stylesheet" href="variables.css">
    <link rel="stylesheet" href="reset.css">
*/


/*==========================================================
    UNIVERSAL RESET
==========================================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


/*==========================================================
    HTML
==========================================================*/

html{

    font-size:16px;

    scroll-behavior:smooth;

    -webkit-text-size-adjust:100%;

    text-size-adjust:100%;

}


/*==========================================================
    BODY
==========================================================*/

body{

    min-height:100vh;

    font-family:var(--font-primary);

    font-size:var(--fs-base);

    font-weight:var(--fw-normal);

    line-height:var(--lh-normal);

    color:var(--text-primary);

    background:var(--body-bg);

    overflow-x:hidden;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}


/*==========================================================
    MEDIA
==========================================================*/

img,
picture,
video,
canvas,
svg{

    display:block;

    max-width:100%;

}


img{

    height:auto;

    border:0;

    user-select:none;

    -webkit-user-drag:none;

}


/*==========================================================
    LINKS
==========================================================*/

a{

    color:inherit;

    text-decoration:none;

    transition:color var(--transition-fast);

}


a:hover{

    color:var(--link-hover);

}


a:focus-visible{

    outline:2px solid var(--color-primary);

    outline-offset:3px;

}


/*==========================================================
    TYPOGRAPHY
==========================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    font:inherit;

}


p{

    margin:0;

}


strong{

    font-weight:var(--fw-bold);

}


small{

    font-size:var(--fs-sm);

}


/*==========================================================
    LISTS
==========================================================*/

ul,
ol{

    list-style:none;

}


/*==========================================================
    TABLES
==========================================================*/

table{

    width:100%;

    border-collapse:collapse;

    border-spacing:0;

}


th,
td{

    text-align:left;

    vertical-align:middle;

}


/*==========================================================
    FORMS
==========================================================*/

button,
input,
textarea,
select{

    font:inherit;

    color:inherit;

    background:none;

    border:none;

    outline:none;

}


button{

    cursor:pointer;

    user-select:none;

    transition:all var(--transition-fast);

}


button:disabled{

    cursor:not-allowed;

    opacity:var(--opacity-disabled);

}


textarea{

    resize:vertical;

}


input[type="search"]{

    -webkit-appearance:none;

    appearance:none;

}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{

    -webkit-appearance:none;

    margin:0;

}


input[type="number"]{

    appearance:textfield;

    -moz-appearance:textfield;

}


/*==========================================================
    PLACEHOLDERS
==========================================================*/

::placeholder{

    color:var(--text-muted);

    opacity:1;

}


/*==========================================================
    SELECTION
==========================================================*/

::selection{

    color:var(--white);

    background:var(--color-primary);

}


/*==========================================================
    HORIZONTAL RULE
==========================================================*/

hr{

    border:0;

    border-top:1px solid var(--border-color);

}


/*==========================================================
    IFRAME
==========================================================*/

iframe{

    border:0;

}


/*==========================================================
    FIELDSET
==========================================================*/

fieldset{

    border:0;

}


legend{

    display:table;

}


/*==========================================================
    DETAILS
==========================================================*/

details{

    display:block;

}


summary{

    cursor:pointer;

}


/*==========================================================
    DIALOG
==========================================================*/

dialog{

    border:none;

    padding:0;

}


/*==========================================================
    QUOTES
==========================================================*/

blockquote,
q{

    quotes:none;

}


blockquote::before,
blockquote::after,
q::before,
q::after{

    content:"";

}


/*==========================================================
    ABBREVIATION
==========================================================*/

abbr[title]{

    text-decoration:underline dotted;

    cursor:help;

}


/*==========================================================
    CODE
==========================================================*/

code,
kbd,
pre,
samp{

    font-family:var(--font-mono);

}


/*==========================================================
    SVG
==========================================================*/

svg{

    overflow:hidden;

    vertical-align:middle;

}


/*==========================================================
    HIDDEN
==========================================================*/

[hidden]{

    display:none !important;

}


/*==========================================================
    FOCUS
==========================================================*/

:focus-visible{

    outline:2px solid var(--color-primary);

    outline-offset:2px;

}


/*==========================================================
    SCROLLBAR (WEBKIT)
==========================================================*/

::-webkit-scrollbar{

    width:10px;

    height:10px;

}


::-webkit-scrollbar-track{

    background:var(--gray-100);

}


::-webkit-scrollbar-thumb{

    background:var(--gray-400);

    border-radius:20px;

}


::-webkit-scrollbar-thumb:hover{

    background:var(--gray-600);

}


/*==========================================================
    AUTOFILL
==========================================================*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{

    -webkit-text-fill-color:var(--text-primary);

    transition:background-color 9999s ease-in-out 0s;

}


/*==========================================================
    REDUCED MOTION
==========================================================*/

@media (prefers-reduced-motion:reduce){

    *{

        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;

        scroll-behavior:auto !important;

    }

}