
/*
Theme Name: Crystal
Theme URI: https://example.com/
Author: Crystal
Description: Mobile-first WooCommerce theme.
Version: 1.0.0
Text Domain: crystal
*/

:root {
    --ws-primary: #04aae4;
    --ws-primary-dark: #078fbd;
    --ws-text: #171717;
    --ws-muted: #777;
    --ws-border: #e9e9e9;
    --ws-bg: #f6f7f8;
    --ws-white: #fff;
    --ws-radius: 14px;
    --ws-container: 680px;
    --ws-space: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ws-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-main {
    min-height: 60vh;
}

.ws-container {
    width: min(calc(100% - 32px), var(--ws-container));
    margin-inline: auto;
}

.ws-page {
    padding: 20px 0 50px;
}

.ws-section {
    margin: 50px 0;
}

.ws-section:first-child {
    margin-top: 0;
}

.ws-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-top:20px;
    border-top:1px solid #e8e8e8;
}

.ws-section-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 750;
}

.ws-section-link {
    color: var(--ws-primary);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.ws-card {
    background: var(--ws-white);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
}

.ws-button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    background: var(--ws-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition:
        background .15s ease,
        transform .1s ease;
}

.ws-button:hover {
    background: var(--ws-primary-dark);
}

.ws-button:active {
    transform: scale(.98);
}

.ws-button--full {
    width: 100%;
}

.ws-muted {
    color: var(--ws-muted);
}

.ws-hidden {
    display: none !important;
}

/* WordPress */
.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-image {
    max-width: 100%;
}

.entry-content {
    font-size: 16px;
}

.entry-content h2 {
    margin-top: 32px;
}

.entry-content h3 {
    margin-top: 26px;
}

/* WooCommerce reset */
.woocommerce-page .site-main,
.woocommerce .site-main {
    padding-bottom: 40px;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

/* Desktop remains intentionally narrow */
@media (min-width: 768px) {
    .ws-container {
        width: min(calc(100% - 48px), 680px);
    }

    .ws-page {
        padding-top: 28px;
    }
}

.woocommerce nav.woocommerce-pagination ul{
    display:inline-flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    border:none;
}
.woocommerce nav.woocommerce-pagination ul li {
    border:none;
}
.woocommerce nav.woocommerce-pagination ul li span.current  {
    background:#04aae4;
    color:#fff;
}

.woocommerce .woocommerce-ordering {
    margin: 0;
}

.woocommerce .woocommerce-result-count {
    margin: 0;
}