/* site palette */
html:root {
    --bg: #F7F2EB;
    --surface: #FFFFFF;
    --surface-alt: #F6EEEB;
    --text: #292219;
    --text-muted: #72685A;
    --border: #E4DFD8;
    --primary: #9C502D;
    --primary-hover: #804225;
    --on-primary: #FFFFFF;
    --primary-text: #9C502D;
    --accent: #35655C;
    --on-accent: #FFFFFF;
    --accent-text: #35655C;
    --dark-band: #153831;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BEB6;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #153831;
    --section-alt-bg: #F6EEEB;
    --dark-band-bg: #153831;
    --brand-band-bg: #9C502D;
    --hero-bg: #153831;
}

/* /site palette */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.text-muted {
    color: var(--text-muted) !important;
}

.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.sh-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

.sh-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid var(--primary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    line-height: 1.2;
}

.sh-btn-alt:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.sh-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(41, 34, 25, 0.06);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sh-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(41, 34, 25, 0.12);
}

.sh-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    flex-grow: 0;
}

.sh-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.sh-card:hover .sh-media img {
    transform: scale(1.03);
}

.sh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sh-title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .sh-title {
        font-size: 28px;
    }
}

.sh-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--surface-alt);
    color: var(--primary-text);
}

.sh-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface);
    color: var(--primary);
    flex-shrink: 0;
    font-size: 20px;
}

.sh-section {
    background-color: var(--bg);
    padding: 80px 0;
}

.sh-section-alt {
    background-color: var(--section-alt-bg, var(--surface-alt));
    padding: 80px 0;
}

.sh-section-dark {
    background-color: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
    padding: 80px 0;
}

.sh-section-brand {
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
    padding: 80px 0;
}

@media (max-width: 768px) {

    .sh-section,
    .sh-section-alt,
    .sh-section-dark,
    .sh-section-brand {
        padding: 48px 0;
    }
}

.sh-section-brand .sh-btn {
    background-color: var(--brand-btn-bg, #FFFFFF);
    color: var(--brand-btn-text, #153831);
}

.sh-section-brand .sh-btn:hover {
    background-color: var(--surface-alt);
    color: var(--brand-btn-text, #153831);
}

.sh-section-brand .sh-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary);
}

.sh-section-brand .sh-btn-alt:hover {
    background-color: var(--on-primary);
    color: var(--primary);
}

.sh-section-dark,
.sh-on-dark {
    color: var(--on-dark);
}

.sh-section-dark h1,
.sh-section-dark h2,
.sh-section-dark h3,
.sh-section-dark h4,
.sh-section-dark .sh-title,
.sh-on-dark h1,
.sh-on-dark h2,
.sh-on-dark h3,
.sh-on-dark h4,
.sh-on-dark .sh-title {
    color: var(--on-dark);
}

.sh-section-dark p,
.sh-on-dark p {
    color: var(--on-dark-muted);
}

.sh-section-dark .text-muted,
.sh-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.sh-section-dark .sh-eyebrow,
.sh-on-dark .sh-eyebrow {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--on-dark);
}

.sh-section-dark .sh-btn-alt,
.sh-on-dark .sh-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.sh-section-dark .sh-btn-alt:hover,
.sh-on-dark .sh-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--on-dark);
}

.sh-section-dark .sh-card,
.sh-on-dark .sh-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.sh-section-dark .sh-card h1,
.sh-section-dark .sh-card h2,
.sh-section-dark .sh-card h3,
.sh-section-dark .sh-card h4,
.sh-section-dark .sh-card .sh-title,
.sh-on-dark .sh-card h1,
.sh-on-dark .sh-card h2,
.sh-on-dark .sh-card h3,
.sh-on-dark .sh-card h4,
.sh-on-dark .sh-card .sh-title {
    color: var(--text);
}

.sh-section-dark .sh-card p,
.sh-on-dark .sh-card p {
    color: var(--text);
}

.sh-section-dark .sh-card .text-muted,
.sh-on-dark .sh-card .text-muted {
    color: var(--text-muted) !important;
}

/* ===== header ===== */
.site-header {
    font-family: 'Alegreya Sans', sans-serif;
}

.site-header .site-header__logo {
    max-width: 48px;
    max-height: 48px;
}

.site-header a[data-cart-trigger]:hover [data-cart-indicator],
.site-header a[data-cart-trigger]:hover i {
    color: #FFFFFF;
}

/* ===== hero_section ===== */
.sh-hero-root {
    background-color: var(--hero-bg, #153831);
    position: relative;
}

.sh-hero-root .sh-hero-bg-img {
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .sh-hero-root h1 {
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}

/* ===== featured_categories ===== */
.purity-catalog-block {
    overflow: hidden;
}

.purity-catalog-block .sh-card {
    min-height: 100%;
}

.purity-catalog-block .sh-media img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .purity-catalog-block .sh-card {
        width: 100%;
    }
}

/* ===== sale_and_outlet ===== */
.sale-outlet-block {
    background-color: var(--dark-band);
}

.sale-outlet-block .sh-card {
    min-width: 0;
}

@media (max-width: 767px) {
    .sale-outlet-block .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== care_and_maintenance ===== */
.care-guide-section {
    overflow-wrap: anywhere;
}

.care-guide-section .care-guide-media img {
    display: block;
}

@media (max-width: 767px) {
    .care-guide-section .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== why_choose_us ===== */
.purity-features-block {
    background-color: var(--brand-band-bg);
}

.purity-features-block .purity-feature-card {
    height: 100%;
}

.purity-features-block .purity-feature-card:hover .sh-icon {
    background-color: var(--primary);
    color: var(--on-primary);
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .purity-features-block .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== footer ===== */
.site-footer a {
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer img[src*="purity-gloves-logo"] {
    filter: brightness(0) invert(1);
}

:root {
    --bg: #F7F2EB;
    --surface: #FFFFFF;
    --surface-alt: #F6EEEB;
    --text: #292219;
    --text-muted: #72685A;
    --border: #E4DFD8;
    --primary: #9C502D;
    --primary-hover: #804225;
    --on-primary: #FFFFFF;
    --primary-text: #9C502D;
    --accent: #35655C;
    --on-accent: #FFFFFF;
    --accent-text: #35655C;
    --dark-band: #153831;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BEB6;
    --hero-bg: #153831;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
}

.site-header {
    font-family: 'Alegreya Sans', sans-serif;
}

.site-header .site-header__logo {
    max-width: 48px;
    max-height: 48px;
}

.site-header a[data-cart-trigger]:hover [data-cart-indicator],
.site-header a[data-cart-trigger]:hover i {
    color: #FFFFFF;
}

.site-footer a {
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-main-block .product-item.is-hidden {
    display: none !important;
}

.catalog-main-block .sh-media img {
    object-fit: contain;
    padding: 10px;
}

.catalog-main-block .intro-card {
    min-height: 280px;
}

@media (max-width: 767px) {

    .catalog-main-block h1,
    .catalog-main-block h2,
    .catalog-main-block h3 {
        overflow-wrap: anywhere;
        hyphens: auto;
    }
}


/* ===== PAGE: about ===== */
.about-page-wrapper .about-diamond-container{perspective:1000px}.about-page-wrapper .about-diamond-frame img{width:100%;height:100%;object-fit:cover}@media(max-width:767px){.about-page-wrapper .about-diamond-container{max-width:300px}}

/* ===== PAGE: blog ===== */
.blog-posts-section .blog-post-card {
  min-height: 100%;
}

.blog-posts-section .blog-post-card a {
  overflow-wrap: anywhere;
}

.blog-posts-section .blog-post-card h3 {
  hyphens: auto;
}

/* ===== PAGE: guide ===== */
.pg-guide-listing { font-family: 'Alegreya Sans', sans-serif; }
.pg-guide-listing .sh-card { will-change: transform, box-shadow; }
.pg-guide-listing img { display: block; }
@media (max-width: 767px) {
  .pg-guide-listing .sh-card { flex-direction: column !important; }
}

/* ===== PAGE: contact ===== */
.pg-contact-details, .pg-map-section { overflow-wrap: anywhere; }
.contact-map { height: 380px; min-height: 320px; width: 100%; position: relative; }
.contact-map iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block; }
@media (max-width: 767px) {
  .contact-map { height: 280px; min-height: 240px; }
}

/* ===== PAGE: cart ===== */
.purity-cart-main input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}
.purity-cart-main .purity-cart-item-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  transition: border-color 0.2s ease;
}
.purity-cart-main .purity-cart-item-card:hover {
  border-color: var(--primary);
}
@media (max-width: 767px) {
  .purity-cart-main .purity-cart-item-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .purity-cart-main .purity-cart-item-left {
    width: 100%;
  }
  .purity-cart-main .purity-cart-item-right {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
}

/* ===== PAGE: privacy ===== */
.privacy-page .js-toc-link.is-active {
  background-color: #F6EEEB;
  color: #9C502D;
  font-weight: 700;
}
.privacy-page article {
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .privacy-page main {
    width: 100%;
  }
}

/* ===== PAGE: terms ===== */
.terms-content-section {
  font-family: var(--font-family-base, 'Alegreya Sans', sans-serif);
}

.terms-content-section .terms-nav .active-nav-link {
  background-color: var(--surface-alt);
  color: var(--primary);
  font-weight: 700;
}

.terms-content-section a {
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.terms-content-section p, 
.terms-content-section li {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .terms-content-section main section {
    padding: 1.25rem;
  }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-content { font-family: 'Alegreya Sans', sans-serif; overflow-wrap: anywhere; } .disclaimer-content h2, .disclaimer-content h3 { overflow-wrap: anywhere; hyphens: auto; }

/* ===== PAGE: refound ===== */
.purity-refund-block {
  overflow-wrap: anywhere;
}
.purity-refund-block .js-accordion-trigger[aria-expanded="true"] {
  color: var(--primary);
  background-color: var(--surface-alt);
}
.purity-refund-block .js-accordion-trigger[aria-expanded="true"] .js-accordion-icon {
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .purity-refund-block .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: delivery ===== */
.delivery-page .js-faq-content {
  transition: all 0.3s ease-in-out;
}
.delivery-page .delivery-faq-item.active .js-faq-icon {
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .delivery-page .grid {
    grid-template-columns: 1fr;
  }
}

.comment-card {
    background-color: #FFFFFF;
    border-color: #E4DFD8;
    font-family: 'Alegreya Sans', sans-serif;
}

.comment-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    object-fit: cover;
    border-radius: 9999px;
}

.comment-body {
    color: #292219;
    font-size: 16px;
    line-height: 1.6;
}

.comment-action-btn {
    transition: all 0.25s ease;
    cursor: pointer;
}

.comment-action-btn:hover {
    color: #9C502D;
}

.comment-action-btn:focus-visible {
    outline: 2px solid #9C502D;
    outline-offset: 2px;
}

.reply-comment {
    background-color: #F6EEEB;
    border-color: #E4DFD8;
    font-family: 'Alegreya Sans', sans-serif;
}

.reply-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    object-fit: cover;
    border-radius: 9999px;
}

.reply-comment .comment-body {
    color: #292219;
}

.reply-comment .comment-action-btn {
    transition: all 0.25s ease;
    cursor: pointer;
}

.reply-comment .comment-action-btn:hover {
    color: #9C502D;
}


/* ===== PAGE TEMPLATE: catalog ===== */
.product-detail-wrapper {
    font-family: 'Alegreya Sans', sans-serif;
}

.product-detail-wrapper h1,
.product-detail-wrapper h2,
.product-detail-wrapper h3,
.product-detail-wrapper h4 {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.product-detail-wrapper .like-btn.is-active i {
    font-weight: bold;
    color: #9C502D;
}

.product-detail-wrapper .like-btn.is-active {
    color: #9C502D;
}

@media (max-width: 767px) {
    .product-summary-card {
        padding: 1rem;
    }

    .product-tabs-section {
        padding: 1rem;
    }
}

/* ===== PAGE TEMPLATE: blog, guide ===== */
.site-header {
    font-family: 'Alegreya Sans', sans-serif;
}

.site-header .site-header__logo {
    max-width: 48px;
    max-height: 48px;
}

.site-header a[data-cart-trigger]:hover [data-cart-indicator],
.site-header a[data-cart-trigger]:hover i {
    color: #FFFFFF;
}

.site-footer a {
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-detail-section .article-body-container h2 {
    overflow-wrap: anywhere;
}

.article-detail-section .article-body-container p {
    overflow-wrap: break-word;
}

.comment-action-btn.is-liked {
    color: var(--primary, #9C502D) !important;
}

.comment-action-btn.is-liked i {
    font-weight: bold;
}

@media (max-width: 767px) {
    .article-detail-section .article-media-wrapper {
        margin-bottom: 1.5rem;
    }

    .cta-split-section .sh-btn {
        width: 100%;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}
