/**
 * Webshop storefront styles
 * Mobile-first, B2B-friendly design with CSS custom properties
 */
@font-face {
  font-family: "FontAwesome";
  font-weight: 900;
  font-style: normal;
  src: url("/static/fonts/mystique/fa-solid-900.woff2?v=6.5.1&ab398ec87003") format("woff2"), url("/static/fonts/mystique/fa-solid-900.ttf?v=6.5.1&ab398ec87003") format("truetype"); }

@font-face {
  font-family: "FontAwesomeRegular";
  font-weight: 400;
  font-style: normal;
  src: url("/static/fonts/mystique/fa-regular-400.woff2?v=6.5.1&ab398ec87003") format("woff2"), url("/static/fonts/mystique/fa-regular-400.ttf?v=6.5.1&ab398ec87003") format("truetype"); }

.fa, .fas, .fa-solid {
  font-family: "FontAwesome"; }

.far, .fa-regular {
  font-family: "FontAwesomeRegular" !important; }

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%; }

body.ws-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ws-text);
  background-color: var(--ws-bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

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

a {
  color: var(--ws-primary);
  text-decoration: none;
  transition: color 0.2s ease; }
  a:hover {
    color: var(--ws-secondary); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ws-primary); }

h1 {
  font-size: 1.75rem; }

h2 {
  font-size: 1.5rem; }

h3 {
  font-size: 1.25rem; }

h4 {
  font-size: 1.1rem; }

p {
  margin: 0 0 1rem; }

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none; }

button {
  font-family: inherit;
  cursor: pointer; }

table {
  border-collapse: collapse;
  width: 100%; }

.ws-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-wrap: break-word; }
  .ws-container--narrow {
    max-width: 480px; }

.ws-main {
  flex: 1;
  padding-bottom: 3rem; }

.ws-section {
  padding: 2.5rem 0; }
  .ws-section--alt {
    background-color: var(--ws-bg-alt); }
  .ws-section__title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center; }

.ws-header {
  background-color: var(--ws-bg);
  border-bottom: 1px solid var(--ws-border);
  position: sticky;
  top: 0;
  z-index: 100; }

.ws-header__top {
  padding: 0.75rem 0; }

.ws-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; }

.ws-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center; }
  .ws-header__logo img {
    max-height: 40px;
    width: auto; }

.ws-header__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ws-primary);
  letter-spacing: -0.02em; }

.ws-header__search {
  flex: 1;
  display: none;
  position: relative;
  min-width: 0; }

.ws-header__search-input {
  width: 100%;
  padding: 0.625rem 3rem 0.625rem 1rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-size: 0.9375rem;
  background: var(--ws-bg-alt);
  transition: border-color 0.2s, box-shadow 0.2s; }
  .ws-header__search-input:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1); }

.ws-header__search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.75rem;
  border: none;
  background: transparent;
  color: var(--ws-text-light);
  font-size: 1rem; }
  .ws-header__search-btn:hover {
    color: var(--ws-secondary); }

.ws-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto; }

.ws-header__action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--ws-text);
  font-size: 0.875rem;
  position: relative;
  transition: background-color 0.2s; }
  .ws-header__action:hover {
    background-color: var(--ws-bg-alt);
    color: var(--ws-primary); }
  .ws-header__action i {
    font-size: 1.125rem; }

.ws-header__action-label {
  display: none; }

.ws-header__cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background-color: var(--ws-secondary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1; }

.ws-header__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  background: var(--ws-bg);
  color: var(--ws-primary);
  font-size: 1.125rem; }

.ws-nav {
  background-color: var(--ws-primary);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease; }
  .ws-nav--open {
    max-height: 500px; }

.ws-nav__list {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0; }

.ws-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .ws-nav__item:last-child {
    border-bottom: none; }

.ws-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s; }
  .ws-nav__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff; }

.ws-footer {
  background-color: var(--ws-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto; }

.ws-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem; }

.ws-footer__title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600; }

.ws-footer__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0; }

.ws-footer__links li {
  margin-bottom: 0.5rem; }

.ws-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem; }
  .ws-footer__links a:hover {
    color: #fff; }

.ws-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center; }
  .ws-footer__bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6); }

.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap; }
  .ws-btn:active {
    transform: scale(0.98); }
  .ws-btn--primary {
    background-color: var(--ws-secondary);
    color: #fff;
    border-color: var(--ws-secondary); }
    .ws-btn--primary:hover {
      background-color: #e52141;
      border-color: #e52141;
      color: #fff; }
  .ws-btn--outline {
    background-color: transparent;
    color: var(--ws-primary);
    border-color: var(--ws-border); }
    .ws-btn--outline:hover {
      border-color: var(--ws-primary);
      background-color: var(--ws-bg-alt);
      color: var(--ws-primary); }
  .ws-btn--danger {
    background-color: transparent;
    color: var(--ws-error);
    border-color: transparent; }
    .ws-btn--danger:hover {
      background-color: rgba(214, 48, 49, 0.1); }
  .ws-btn--icon {
    padding: 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem; }
  .ws-btn--sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem; }
  .ws-btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem; }
  .ws-btn--full {
    width: 100%; }
  .ws-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none; }

.ws-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--ws-bg);
  color: var(--ws-text);
  transition: border-color 0.2s, box-shadow 0.2s; }
  .ws-input:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1); }

.ws-form-group {
  margin-bottom: 1.25rem; }
  .ws-form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ws-text); }

.ws-form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0; }
  .ws-form-row .ws-form-group {
    flex: 1; }
  .ws-form-row .ws-form-group--lg {
    flex: 2; }
  .ws-form-row .ws-form-group--sm {
    flex: 0 0 120px; }
  @media (max-width: 480px) {
    .ws-form-row {
      flex-direction: column;
      gap: 0; } }
.ws-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem; }

.ws-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem; }
  .ws-section-header h2, .ws-section-header h3 {
    margin: 0; }

.ws-form-error {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: rgba(214, 48, 49, 0.1);
  border: 1px solid var(--ws-error);
  border-radius: 6px;
  color: var(--ws-error);
  font-size: 0.875rem; }

.ws-form-success {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: rgba(0, 184, 148, 0.1);
  border: 1px solid var(--ws-success);
  border-radius: 6px;
  color: var(--ws-success);
  font-size: 0.875rem; }

.ws-notifications {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; }

.ws-notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  animation: ws-slide-in 0.3s ease; }
  .ws-notification--success, .ws-notification--info {
    background-color: rgba(0, 184, 148, 0.12);
    border: 1px solid var(--ws-success);
    color: #00695c; }
  .ws-notification--error {
    background-color: rgba(214, 48, 49, 0.12);
    border: 1px solid var(--ws-error);
    color: var(--ws-error); }
  .ws-notification--warning {
    background-color: rgba(253, 203, 110, 0.3);
    border: 1px solid var(--ws-warning);
    color: #856404; }
  .ws-notification__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    padding: 0 0 0 1rem;
    cursor: pointer; }
    .ws-notification__close:hover {
      opacity: 1; }

@keyframes ws-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

.ws-hero {
  background: linear-gradient(135deg, var(--ws-primary) 0%, #292948 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center; }
  .ws-hero h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem; }
  .ws-hero p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem; }

.ws-hero__search {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto; }

.ws-hero__search-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem; }

.ws-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  overflow: hidden; }

.ws-category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  min-width: 0;
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: var(--ws-text); }
  .ws-category-tile:hover {
    border-color: var(--ws-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    color: var(--ws-primary); }
  .ws-category-tile__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem; }
  .ws-category-tile__placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-bg-alt);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    color: var(--ws-text-light);
    font-size: 1.75rem; }
  .ws-category-tile__name {
    font-weight: 600;
    font-size: 0.9375rem;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%; }

.ws-subcategory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem; }

.ws-subcategory-tile {
  padding: 0.5rem 1rem;
  background: var(--ws-bg-alt);
  border: 1px solid var(--ws-border);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--ws-text);
  transition: background-color 0.2s, border-color 0.2s; }
  .ws-subcategory-tile:hover {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: #fff; }

.ws-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; }

.ws-product-card {
  display: flex;
  flex-direction: column;
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s; }
  .ws-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px); }
  .ws-product-card__image-link {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ws-bg-alt); }
  .ws-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; }
  .ws-product-card:hover .ws-product-card__image {
    transform: scale(1.05); }
  .ws-product-card__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-text-light);
    font-size: 2rem; }
  .ws-product-card__info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.375rem; }
  .ws-product-card__code {
    font-size: 0.75rem;
    color: var(--ws-text-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em; }
  .ws-product-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4; }
    .ws-product-card__name a {
      color: var(--ws-text); }
      .ws-product-card__name a:hover {
        color: var(--ws-secondary); }
  .ws-product-card__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ws-primary); }
  .ws-product-card__stock {
    font-size: 0.8125rem; }
  .ws-product-card__add {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem; }
  .ws-product-card__qty {
    width: 3.5rem;
    padding: 0.375rem 0.5rem;
    border: 1px solid var(--ws-border);
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center; }

.ws-stock--in_stock,
.ws-stock--available {
  color: var(--ws-success); }

.ws-stock--out_of_stock,
.ws-stock--unavailable {
  color: var(--ws-error); }

.ws-stock--low_stock,
.ws-stock--limited {
  color: var(--ws-warning); }

.ws-category-header {
  padding: 1.5rem 0; }
  .ws-category-header h1 {
    margin-bottom: 0.5rem; }
  .ws-category-header__desc {
    color: var(--ws-text-light);
    font-size: 0.9375rem;
    max-width: 720px; }

.ws-category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ws-border); }
  .ws-category-toolbar__count {
    font-size: 0.875rem;
    color: var(--ws-text-light); }

.ws-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem 0; }

.ws-product__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem; }

.ws-product__main-image {
  aspect-ratio: 1;
  background: var(--ws-bg-alt);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ws-border); }
  .ws-product__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; }

.ws-product__no-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ws-bg-alt);
  border-radius: 8px;
  color: var(--ws-text-light);
  font-size: 3rem;
  border: 1px solid var(--ws-border); }

.ws-product__thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap; }

.ws-product__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--ws-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ws-bg);
  cursor: pointer;
  transition: border-color 0.2s; }
  .ws-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; }
  .ws-product__thumb--active, .ws-product__thumb:hover {
    border-color: var(--ws-secondary); }

.ws-product__code {
  font-size: 0.8125rem;
  color: var(--ws-text-light);
  margin-bottom: 0.25rem; }

.ws-product__name {
  font-size: 1.5rem;
  margin-bottom: 1rem; }

.ws-product__price-block {
  margin-bottom: 1rem; }

.ws-product__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ws-primary); }

.ws-product__price-secondary {
  display: block;
  font-size: 0.875rem;
  color: var(--ws-text-light);
  margin-top: 0.25rem; }

.ws-product__stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem; }
  .ws-product__stock i {
    font-size: 0.5rem; }

.ws-product__variants {
  margin-bottom: 1.25rem; }
  .ws-product__variants h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem; }

.ws-product__variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; }

.ws-product__variant {
  padding: 0.5rem 1rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--ws-text);
  transition: border-color 0.2s, background-color 0.2s; }
  .ws-product__variant:hover {
    border-color: var(--ws-primary); }
  .ws-product__variant--active {
    border-color: var(--ws-secondary);
    background-color: rgba(233, 69, 96, 0.08);
    color: var(--ws-secondary);
    font-weight: 600; }

.ws-product__add-form {
  margin-bottom: 1.5rem; }

.ws-product__qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem; }
  .ws-product__qty-row label {
    font-size: 0.9375rem;
    font-weight: 500; }

.ws-product__qty-input {
  width: 5rem;
  padding: 0.625rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center; }

.ws-product__short-desc {
  padding-top: 1rem;
  border-top: 1px solid var(--ws-border);
  font-size: 0.9375rem;
  color: var(--ws-text-light); }

.ws-product__details {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ws-border); }

.ws-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ws-border);
  margin-bottom: 1.5rem;
  overflow-x: auto; }

.ws-tab {
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ws-text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s; }
  .ws-tab:hover {
    color: var(--ws-primary); }
  .ws-tab--active {
    color: var(--ws-secondary);
    border-bottom-color: var(--ws-secondary); }

.ws-tab-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ws-text); }
  .ws-tab-content p {
    margin-bottom: 1rem; }

.ws-specs-table {
  width: 100%; }
  .ws-specs-table tr {
    border-bottom: 1px solid var(--ws-border); }
    .ws-specs-table tr:last-child {
      border-bottom: none; }
  .ws-specs-table th, .ws-specs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9375rem; }
  .ws-specs-table th {
    width: 40%;
    font-weight: 500;
    color: var(--ws-text-light);
    background: var(--ws-bg-alt); }

.ws-downloads li {
  margin-bottom: 0.75rem; }

.ws-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem; }
  .ws-downloads a i {
    color: var(--ws-error); }

.ws-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0; }
  .ws-search-form__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ws-border);
    border-radius: 6px;
    font-size: 1rem; }

.ws-search-count {
  font-size: 0.875rem;
  color: var(--ws-text-light);
  margin-bottom: 1rem; }

.ws-cart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem; }

.ws-cart__table {
  font-size: 0.9375rem; }
  .ws-cart__table thead {
    display: none; }
  .ws-cart__table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ws-border); }

.ws-cart__product-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; }
  .ws-cart__product-info strong {
    font-weight: 600; }

.ws-cart__product-code {
  font-size: 0.8125rem;
  color: var(--ws-text-light); }

.ws-cart__price,
.ws-cart__line-total {
  font-weight: 600; }

.ws-cart__qty-input {
  width: 4rem;
  padding: 0.375rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  text-align: center;
  font-size: 0.875rem; }

.ws-cart__summary {
  background: var(--ws-bg-alt);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 1.5rem; }

.ws-cart__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9375rem; }
  .ws-cart__summary-row--note {
    font-size: 0.8125rem;
    color: var(--ws-text-light);
    border-top: 1px solid var(--ws-border);
    margin-top: 0.5rem;
    padding-top: 0.75rem; }

.ws-cart__summary-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ws-primary); }

.ws-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem; }

.ws-checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem; }

.ws-checkout__step {
  margin-bottom: 1.5rem; }
  .ws-checkout__step h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem; }

.ws-checkout__methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; }

.ws-checkout__method {
  display: block;
  cursor: pointer; }
  .ws-checkout__method input {
    display: none; }
    .ws-checkout__method input:checked + .ws-checkout__method-label {
      border-color: var(--ws-secondary);
      background-color: rgba(233, 69, 96, 0.06); }

.ws-checkout__method-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--ws-border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s; }
  .ws-checkout__method-label i {
    font-size: 1.25rem;
    color: var(--ws-primary); }

.ws-checkout__notes {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  resize: vertical; }
  .ws-checkout__notes:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1); }

.ws-checkout__summary {
  background: var(--ws-bg-alt);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 1.5rem; }
  .ws-checkout__summary h3 {
    margin-bottom: 0.5rem; }

.ws-checkout__summary-note {
  font-size: 0.875rem;
  color: var(--ws-text-light);
  margin-bottom: 1rem; }

.ws-body--auth {
  background-color: var(--ws-bg-alt); }

.ws-auth-card {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
  .ws-auth-card h1 {
    text-align: center;
    margin-bottom: 1.5rem; }
  .ws-auth-card__footer {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--ws-text-light); }

.ws-breadcrumbs {
  background: var(--ws-bg-alt);
  border-bottom: 1px solid var(--ws-border);
  padding: 0.75rem 0; }

.ws-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem; }

.ws-breadcrumbs__item {
  display: flex;
  align-items: center;
  color: var(--ws-text-light); }
  .ws-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: 0.25rem;
    color: var(--ws-border); }
  .ws-breadcrumbs__item a {
    color: var(--ws-text-light); }
    .ws-breadcrumbs__item a:hover {
      color: var(--ws-secondary); }
  .ws-breadcrumbs__item span {
    color: var(--ws-text);
    font-weight: 500; }

.ws-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 2rem;
  padding: 1rem 0; }

.ws-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--ws-text);
  transition: background-color 0.2s, border-color 0.2s; }
  .ws-pagination__link:hover {
    background: var(--ws-bg-alt);
    border-color: var(--ws-primary);
    color: var(--ws-primary); }
  .ws-pagination__link--active {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: #fff;
    font-weight: 600; }

.ws-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ws-text-light); }
  .ws-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--ws-border); }
  .ws-empty-state p {
    margin-bottom: 0.5rem;
    font-size: 1rem; }
  .ws-empty-state .ws-btn {
    margin-top: 1rem; }

.ws-text-center {
  text-align: center; }

.ws-text-right {
  text-align: right; }

.ws-text-muted {
  color: var(--ws-text-light); }

.ws-mt-1 {
  margin-top: 0.5rem; }

.ws-mt-2 {
  margin-top: 1rem; }

.ws-mt-3 {
  margin-top: 1.5rem; }

.ws-mb-1 {
  margin-bottom: 0.5rem; }

.ws-mb-2 {
  margin-bottom: 1rem; }

.ws-mb-3 {
  margin-bottom: 1.5rem; }

.ws-hidden {
  display: none !important; }

.ws-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0; }

@media (min-width: 768px) {
  h1 {
    font-size: 2rem; }
  .ws-header__search {
    display: block; }
  .ws-header__action-label {
    display: inline; }
  .ws-header__mobile-toggle {
    display: none; }
  .ws-nav {
    max-height: none;
    overflow: visible; }
  .ws-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0; }
  .ws-nav__item {
    border-bottom: none; }
  .ws-nav__link {
    padding: 0.875rem 1.25rem; }
  .ws-footer__grid {
    grid-template-columns: repeat(3, 1fr); }
  .ws-hero {
    padding: 4rem 0; }
    .ws-hero h1 {
      font-size: 2.25rem; }
  .ws-hero__search {
    flex-direction: row; }
  .ws-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; }
  .ws-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; }
  .ws-search-form {
    flex-direction: row; }
  .ws-cart__table thead {
    display: table-header-group; }
    .ws-cart__table thead th {
      padding: 0.75rem 1rem;
      text-align: left;
      font-size: 0.8125rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--ws-text-light);
      border-bottom: 2px solid var(--ws-border); }
  .ws-cart__table tbody tr {
    display: table-row; }
  .ws-cart__table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--ws-border); }
  .ws-cart__actions {
    flex-direction: row;
    justify-content: flex-end; }
  .ws-cart {
    grid-template-columns: 1fr 320px;
    align-items: start; } }

@media (min-width: 1024px) {
  .ws-container {
    padding: 0 1.5rem; }
  .ws-category-grid {
    grid-template-columns: repeat(4, 1fr); }
  .ws-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; }
  .ws-product {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0; }
  .ws-checkout {
    grid-template-columns: 1fr 360px;
    align-items: start; }
  .ws-section__title {
    font-size: 1.75rem; } }

.ws-checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-top: 24px; }
  @media (max-width: 1024px) {
    .ws-checkout {
      grid-template-columns: 1fr; } }
.ws-checkout__main {
  min-width: 0; }

.ws-checkout__section {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px; }
  .ws-checkout__section h2 {
    font-size: 1.1rem;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ws-primary); }

.ws-checkout__addresses {
  display: flex;
  flex-direction: column;
  gap: 12px; }

.ws-checkout__address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--ws-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s; }
  .ws-checkout__address input[type="radio"] {
    margin-top: 4px; }
  .ws-checkout__address--selected, .ws-checkout__address:has(input:checked) {
    border-color: var(--ws-primary);
    background: rgba(0, 0, 0, 0.01); }

.ws-checkout__no-address {
  color: var(--ws-text-light);
  font-style: italic; }

.ws-checkout__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; }

.ws-checkout__method {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--ws-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s; }
  .ws-checkout__method input[type="radio"] {
    display: none; }
  .ws-checkout__method--selected, .ws-checkout__method:has(input:checked) {
    border-color: var(--ws-primary);
    background: rgba(0, 0, 0, 0.01); }

.ws-checkout__method-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500; }

.ws-checkout__notes {
  width: 100%;
  resize: vertical; }

.ws-checkout__sidebar {
  position: sticky;
  top: 100px;
  align-self: start; }

.ws-checkout__summary {
  background: var(--ws-bg-alt);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 24px; }
  .ws-checkout__summary h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem; }

.ws-checkout__items {
  border-bottom: 1px solid var(--ws-border);
  padding-bottom: 16px;
  margin-bottom: 16px; }

.ws-checkout__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 0.9rem; }

.ws-checkout__item-info {
  display: flex;
  gap: 8px; }

.ws-checkout__item-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.ws-checkout__item-qty {
  color: var(--ws-text-light);
  white-space: nowrap; }

.ws-checkout__totals {
  margin-bottom: 16px; }

.ws-checkout__total-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0; }
  .ws-checkout__total-row--grand {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--ws-primary);
    padding-top: 8px;
    margin-top: 8px; }

.ws-checkout__edit-cart {
  display: block;
  text-align: center;
  color: var(--ws-text-light);
  font-size: 0.85rem;
  text-decoration: none; }
  .ws-checkout__edit-cart:hover {
    color: var(--ws-primary); }

.ws-confirmation {
  text-align: center;
  padding: 60px 20px; }
  .ws-confirmation__icon {
    font-size: 4rem;
    color: var(--ws-success);
    margin-bottom: 16px; }
  .ws-confirmation h1 {
    margin-bottom: 8px; }
  .ws-confirmation__number {
    font-size: 1.1rem;
    color: var(--ws-text-light);
    margin-bottom: 24px; }
  .ws-confirmation__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px; }

.ws-account {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 24px;
  min-height: 60vh; }
  @media (max-width: 768px) {
    .ws-account {
      grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .ws-account__sidebar {
    order: 2; } }

.ws-account__content {
  min-width: 0; }
  .ws-account__content h1 {
    margin: 0 0 24px 0; }

.ws-account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px; }
  @media (max-width: 768px) {
    .ws-account-nav {
      flex-direction: row;
      flex-wrap: wrap; } }
.ws-account-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--ws-text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s; }
  .ws-account-nav__link:hover {
    background: var(--ws-bg-alt); }
  .ws-account-nav__link--active {
    background: var(--ws-bg-alt);
    color: var(--ws-primary); }
  .ws-account-nav__link--logout {
    color: var(--ws-error);
    margin-top: 16px; }

.ws-account__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; }

.ws-account__card {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 24px; }
  .ws-account__card h3 {
    margin: 0 0 16px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px; }

.ws-account__empty {
  color: var(--ws-text-light);
  font-style: italic; }

.ws-order-detail__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px; }
  .ws-order-detail__header h1 {
    margin: 0; }

.ws-order-detail__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px; }
  @media (max-width: 768px) {
    .ws-order-detail__info {
      grid-template-columns: 1fr; } }
.ws-order-detail__meta p {
  margin: 4px 0; }

.ws-order-detail__address {
  background: var(--ws-bg-alt);
  padding: 16px;
  border-radius: 8px; }
  .ws-order-detail__address h3 {
    margin: 0 0 8px 0;
    font-size: 0.95rem; }

.ws-order-detail__remarks {
  margin-top: 24px;
  padding: 16px;
  background: var(--ws-bg-alt);
  border-radius: 8px; }
  .ws-order-detail__remarks h3 {
    margin: 0 0 8px 0; }

.ws-order-detail__actions {
  margin-top: 24px; }

.ws-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase; }
  .ws-status--open {
    background: #e3f2fd;
    color: #1565c0; }
  .ws-status--confirmed {
    background: #e8f5e9;
    color: #2e7d32; }
  .ws-status--sent {
    background: #fff3e0;
    color: #e65100; }
  .ws-status--completed, .ws-status--closed {
    background: #e8f5e9;
    color: #1b5e20; }
  .ws-status--cancelled {
    background: #fce4ec;
    color: #c62828; }

.ws-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--ws-primary);
  color: white; }

.ws-table {
  width: 100%;
  border-collapse: collapse; }
  .ws-table th, .ws-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ws-border); }
  .ws-table th {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ws-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px; }
  .ws-table--compact th, .ws-table--compact td {
    padding: 8px 12px; }
  .ws-table__sub {
    display: block;
    font-size: 0.8rem;
    color: var(--ws-text-light); }

.ws-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px; }

.ws-address-card {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: 20px; }

.ws-link {
  color: var(--ws-primary);
  text-decoration: none;
  font-weight: 500; }
  .ws-link:hover {
    text-decoration: underline; }

.ws-coupon__form {
  display: flex;
  gap: 8px; }
  .ws-coupon__form input {
    flex: 1; }

.ws-coupon__applied {
  display: flex;
  align-items: center;
  gap: 12px; }

.ws-coupon__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--ws-success-bg, #e8f5e9);
  color: var(--ws-success, #2e7d32);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem; }

.ws-coupon__remove {
  background: none;
  border: none;
  color: var(--ws-error);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px; }

.ws-coupon__message {
  margin-top: 8px;
  font-size: 0.85rem; }
  .ws-coupon__message--error {
    color: var(--ws-error); }
  .ws-coupon__message--success {
    color: var(--ws-success, #2e7d32); }

.ws-checkout__total-row--discount {
  color: var(--ws-success, #2e7d32);
  font-weight: 600; }

.ws-quick-order {
  margin-top: 24px; }
  .ws-quick-order__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--ws-border);
    padding-bottom: 12px; }
  .ws-quick-order__panel {
    margin-bottom: 24px; }
  .ws-quick-order__help {
    color: var(--ws-text-light);
    margin-bottom: 16px; }
  .ws-quick-order__line {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px; }
  .ws-quick-order__code {
    flex: 0 0 250px; }
  .ws-quick-order__qty {
    flex: 0 0 80px;
    text-align: center; }
  .ws-quick-order__name {
    flex: 1;
    color: var(--ws-text-light);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .ws-quick-order__actions {
    display: flex;
    gap: 12px;
    margin-top: 16px; }
  .ws-quick-order__orders {
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .ws-quick-order__order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--ws-bg);
    border: 1px solid var(--ws-border);
    border-radius: 8px; }
  .ws-quick-order__result {
    margin-top: 16px;
    padding: 16px;
    background: #fff3e0;
    border-radius: 8px;
    font-size: 0.9rem; }
    .ws-quick-order__result ul {
      margin: 8px 0 0 20px; }

.ws-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px; }
  .ws-page-header h1 {
    margin: 0; }

.ws-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px; }

.ws-text-light {
  color: var(--ws-text-light); }

.ws-text-error {
  color: var(--ws-error); }
