.dokan-single-store .profile-info-box.the-art-has-store-banner > .profile-info-img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  object-position: center;
}

/*
 * The ART Design System v1.0 — public artist profile.
 * Existing framework colours are reused where available; fallbacks keep this
 * public-facing stylesheet safe when it is loaded without the onboarding CSS.
 */
:root {
  --art-radius-header: 32px;
  --art-radius-card: var(--art-radius-md, 24px);
  --art-radius-media: 20px;
  --art-radius-field: 16px;
  --art-radius-button: 999px;
  --art-surface-page: var(--theme-palette-color-8, var(--art-surface, #f8f8f6));
  --art-surface-card: var(--art-white, #fff);
  --art-border-soft: #e8e3db;
  --art-text-primary: var(--art-text, #151b1e);
  --art-text-muted: var(--art-muted, #555);
  --art-action-dark: var(--art-ink, #080d0f);
  --art-shadow-soft: 0 8px 30px rgba(18, 27, 31, .05);
  --art-focus-ring: rgba(8, 13, 15, .28);
  --art-notice-radius: var(--art-radius-field, 16px);
  --art-notice-info-bg: #f2f0eb;
  --art-notice-info-text: #343a3d;
  --art-notice-info-border: #ded9d1;
  --art-notice-success-bg: #edf5ef;
  --art-notice-success-text: #356344;
  --art-notice-success-border: #cadfce;
  --art-notice-warning-bg: #faf3e5;
  --art-notice-warning-text: #7a5a24;
  --art-notice-warning-border: #ead8af;
  --art-notice-error-bg: #f8ecec;
  --art-notice-error-text: #8f3838;
  --art-notice-error-border: #e8caca;
  --art-notice-error-accent: #b44747;
  --art-notice-icon-size: 20px;
  --art-notice-icon-gap: 14px;
  --art-notice-padding-block: 16px;
  --art-notice-padding-inline: 20px;
}

/*
 * Public Artist/Gallery profiles share the canonical header safe area from
 * #main. Keep only the local content clearance here so the header height is
 * not counted twice.
 */
body.dokan-store {
  --the-art-public-profile-content-clearance: clamp(88px, 6.2vw, 90px);
}

body.dokan-store #main.site-main > .ct-container {
  padding-block-start: var(--the-art-public-profile-content-clearance);
}

body.dokan-store #main.site-main .dokan-store-wrap {
  margin-block-start: 0;
}

@media (max-width: 768px) {
  body.dokan-store {
    --the-art-public-profile-content-clearance: calc(var(--header-height, 90px) - 2px);
  }
}

/*
 * Woo's empty loop can be the first child of the shop container. Restore the
 * established header offset only for that state; populated catalogues retain
 * their existing edge-to-edge layout, while product archives that already use
 * the offset remain unchanged.
 */
body.woocommerce #main.site-main:has(.woocommerce-no-products-found) {
  padding-top: var(--the-art-header-content-offset, 120px);
}

body.woocommerce #main .woocommerce-no-products-found {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/*
 * Global public notice system. Status classes and message content continue to
 * be owned by Dokan, WooCommerce and The ART; this layer is presentation only.
 */
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup {
  width: 100%;
  max-width: 100%;
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
) {
  box-sizing: border-box;
  position: relative;
  clear: both;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 20px;
  padding-block: var(--art-notice-padding-block);
  padding-inline-start: calc(
    var(--art-notice-padding-inline) +
    var(--art-notice-icon-size) +
    var(--art-notice-icon-gap)
  );
  padding-inline-end: var(--art-notice-padding-inline);
  border: 1px solid var(--art-notice-border-color, var(--art-notice-info-border));
  border-left: 4px solid var(--art-notice-accent, var(--art-notice-info-text));
  border-radius: var(--art-notice-radius);
  background: var(--art-notice-background, var(--art-notice-info-bg));
  background-image: none;
  box-shadow: none;
  color: var(--art-notice-color, var(--art-notice-info-text));
  font-size: inherit;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible
) {
  display: block;
}

:is(
  .dokan-alert,
  .dokan-alert-info,
  .dokan-info,
  .woocommerce-info,
  .woocommerce-store-notice
) {
  --art-notice-background: var(--art-notice-info-bg);
  --art-notice-color: var(--art-notice-info-text);
  --art-notice-border-color: var(--art-notice-info-border);
  --art-notice-accent: var(--art-notice-info-text);
}

:is(
  .dokan-alert-success,
  .dokan-message,
  .woocommerce-message,
  .art-upload-status.is-visible.is-success
) {
  --art-notice-background: var(--art-notice-success-bg);
  --art-notice-color: var(--art-notice-success-text);
  --art-notice-border-color: var(--art-notice-success-border);
  --art-notice-accent: var(--art-notice-success-text);
}

:is(
  .dokan-alert-warning,
  .art-upload-status.is-visible.is-warning
) {
  --art-notice-background: var(--art-notice-warning-bg);
  --art-notice-color: var(--art-notice-warning-text);
  --art-notice-border-color: var(--art-notice-warning-border);
  --art-notice-accent: var(--art-notice-warning-text);
}

:is(
  .dokan-alert-danger,
  .dokan-error,
  .woocommerce-error,
  .art-error.is-visible
) {
  --art-notice-background: var(--art-notice-error-bg);
  --art-notice-color: var(--art-notice-error-text);
  --art-notice-border-color: var(--art-notice-error-border);
  --art-notice-accent: var(--art-notice-error-accent);
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
)::before {
  position: absolute;
  inset-block-start: calc(var(--art-notice-padding-block) + 2px);
  inset-inline-start: var(--art-notice-padding-inline);
  inline-size: var(--art-notice-icon-size);
  block-size: var(--art-notice-icon-size);
  max-inline-size: var(--art-notice-icon-size);
  max-block-size: var(--art-notice-icon-size);
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: calc(var(--art-notice-icon-size) - 2px);
  text-align: center;
  white-space: nowrap;
  transform: none;
}

:is(
  .dokan-alert,
  .dokan-alert-info,
  .dokan-info,
  .woocommerce-info,
  .woocommerce-store-notice
)::before {
  content: "i";
}

:is(
  .dokan-alert-success,
  .dokan-message,
  .woocommerce-message,
  .art-upload-status.is-visible.is-success
)::before {
  content: "\2713";
}

:is(
  .dokan-alert-warning,
  .art-upload-status.is-visible.is-warning
)::before {
  content: "!";
}

:is(
  .dokan-alert-danger,
  .dokan-error,
  .woocommerce-error,
  .art-error.is-visible
)::before {
  content: "\00d7";
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
) > :is(p, ul, ol):first-child {
  margin-top: 0;
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
) > :is(p, ul, ol):last-child {
  margin-bottom: 0;
}

:is(.woocommerce-error, .dokan-alert) li + li {
  margin-top: 6px;
}

ul.woocommerce-error > li {
  margin-inline-start: 1em;
  padding-inline-start: .15em;
  list-style: disc outside;
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
) a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

:is(
  .dokan-alert,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error
) a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: right;
  min-height: 32px;
  margin: -4px 0 -4px 16px;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: var(--art-radius-button);
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transform: none;
}

:is(
  .dokan-alert,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error
) a.button:hover {
  background: rgba(8, 13, 15, .06);
  color: inherit;
}

.dokan-alert .close {
  display: inline-grid;
  float: right;
  min-width: 28px;
  min-height: 28px;
  margin: -4px -4px 0 12px;
  padding: 0;
  place-items: center;
  color: inherit;
  line-height: 1;
  opacity: .72;
  text-decoration: none;
}

.dokan-alert .close:hover {
  opacity: 1;
}

:is(
  .dokan-alert,
  .dokan-info,
  .dokan-message,
  .dokan-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce-store-notice,
  .art-error.is-visible,
  .art-upload-status.is-visible.is-success,
  .art-upload-status.is-visible.is-warning
) a:focus-visible,
.dokan-alert .close:focus-visible {
  outline: 3px solid var(--art-focus-ring);
  outline-offset: 3px;
}

.woocommerce-store-notice {
  margin: 0;
  border-radius: var(--art-notice-radius) var(--art-notice-radius) 0 0;
}

/* WooCommerce Blocks notices keep their native SVG in a fixed icon column. */
.wc-block-components-notice-banner {
  --art-notice-background: var(--art-notice-info-bg);
  --art-notice-color: var(--art-notice-info-text);
  --art-notice-border-color: var(--art-notice-info-border);
  --art-notice-accent: var(--art-notice-info-text);
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: var(--art-notice-icon-gap);
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 20px;
  padding: var(--art-notice-padding-block) var(--art-notice-padding-inline);
  border: 1px solid var(--art-notice-border-color);
  border-inline-start: 4px solid var(--art-notice-accent);
  border-radius: var(--art-notice-radius);
  background: var(--art-notice-background);
  box-shadow: none;
  color: var(--art-notice-color);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.wc-block-components-notice-banner.is-success {
  --art-notice-background: var(--art-notice-success-bg);
  --art-notice-color: var(--art-notice-success-text);
  --art-notice-border-color: var(--art-notice-success-border);
  --art-notice-accent: var(--art-notice-success-text);
}

.wc-block-components-notice-banner.is-warning {
  --art-notice-background: var(--art-notice-warning-bg);
  --art-notice-color: var(--art-notice-warning-text);
  --art-notice-border-color: var(--art-notice-warning-border);
  --art-notice-accent: var(--art-notice-warning-text);
}

.wc-block-components-notice-banner.is-error {
  --art-notice-background: var(--art-notice-error-bg);
  --art-notice-color: var(--art-notice-error-text);
  --art-notice-border-color: var(--art-notice-error-border);
  --art-notice-accent: var(--art-notice-error-accent);
}

.wc-block-components-notice-banner > svg {
  flex: 0 0 auto;
  inline-size: var(--art-notice-icon-size);
  block-size: var(--art-notice-icon-size);
  max-inline-size: var(--art-notice-icon-size);
  max-block-size: var(--art-notice-icon-size);
  margin: 2px 0 0;
  color: inherit;
  fill: currentColor;
  object-fit: contain;
}

.wc-block-components-notice-banner__content {
  min-width: 0;
  flex: 1 1 auto;
}

.wc-block-components-notice-banner__content a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.wc-block-components-notice-banner__content .wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: right;
  min-height: 32px;
  margin: -4px 0 -4px 16px;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: var(--art-radius-button);
  background: transparent;
  color: inherit;
  line-height: 1.2;
  text-decoration: none;
}

.wc-block-components-notice-banner__content a:focus-visible {
  outline: 3px solid var(--art-focus-ring);
  outline-offset: 3px;
}

/* Match notices injected before Blocksy's single-product container. */
body.single-product #main > :is(
  .woocommerce-notices-wrapper,
  .woocommerce-NoticeGroup,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .wc-block-components-notice-banner
),
body.single-product #main > .ct-container-full > article > :is(
  .woocommerce-notices-wrapper,
  .woocommerce-NoticeGroup,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .wc-block-components-notice-banner
) {
  box-sizing: border-box;
  width: var(--theme-container-width, calc(100% - 40px));
  max-width: var(--theme-normal-container-max-width, 1290px);
  margin-inline: auto;
}

body.single-product #main > .ct-container-full > article > .woocommerce-notices-wrapper:not(:empty) {
  padding-block-start: clamp(104px, 10vw, 125px);
}

/*
 * A rejected direct add-to-cart request without a usable referrer is rendered
 * by WooCommerce at the top of the home-page article. The Blocksy header is
 * intentionally floating there, so keep the one useful customer-facing
 * notice in normal flow, aligned with the site container and below the header.
 */
body.home #main > .ct-container-full > article > .woocommerce-notices-wrapper:has(> :not(:empty)) {
  box-sizing: border-box;
  width: var(--theme-container-width, calc(100% - 40px));
  max-width: var(--theme-normal-container-max-width, 1290px);
  margin-inline: auto;
  padding-block-start: 125px;
}

/* Classic Cart: one card for the cart table, separate cards for summaries. */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-card);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
}

body.woocommerce-cart .woocommerce-cart-form {
  overflow-x: auto;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: inherit;
  background: transparent;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table :is(th, td) {
  padding-inline: clamp(14px, 2vw, 24px);
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-remove {
  padding-left: clamp(14px, 2vw, 24px);
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-subtotal {
  padding-right: clamp(14px, 2vw, 24px);
}

.the-art-plan-thankyou {
  margin: 28px 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-card);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
}

.the-art-plan-thankyou__eyebrow {
  margin: 0 0 10px;
  color: var(--art-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells {
  padding: clamp(20px, 3vw, 30px);
}

body.woocommerce-cart :is(.cart_totals, .cross-sells) > h2 {
  margin-top: 0;
}

body.woocommerce-cart .cart_totals table.shop_table {
  margin-bottom: 22px;
  border: 0;
  background: transparent;
}

body.woocommerce-cart :is(.coupon .input-text, .quantity .qty) {
  border-radius: var(--art-radius-field);
}

/* Cart Blocks: main items, summary and empty state remain separate surfaces. */
body.woocommerce-cart .wp-block-woocommerce-cart :is(
  .wc-block-cart__main,
  .wc-block-cart__sidebar
),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-card);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items {
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart :is(
  .wc-block-components-quantity-selector,
  .wc-block-components-text-input input
) {
  border-radius: var(--art-radius-field);
}

/* Classic Checkout: billing/shipping and order review are intentional cards. */
body.woocommerce-checkout form.checkout #customer_details > :is(.col-1, .col-2),
body.woocommerce-checkout form.checkout #order_review {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-card);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
}

body.woocommerce-checkout form.checkout #order_review {
  isolation: isolate;
  overflow: hidden;
}

body.woocommerce-checkout #order_review > .woocommerce-checkout-review-order-table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-checkout #payment {
  margin: 24px 0 0;
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-field);
  background: transparent;
  overflow: hidden;
}

body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment .place-order {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
}

body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--art-border-soft);
}

body.woocommerce-checkout #payment div.payment_box {
  border-radius: var(--art-radius-field);
}

body.woocommerce-checkout #payment .woocommerce-info {
  margin-bottom: 0;
}

body.woocommerce-checkout form.checkout :is(
  input.input-text,
  textarea,
  select,
  .select2-selection
) {
  border-radius: var(--art-radius-field);
}

/* Checkout Blocks: form and order summary columns form two coherent cards. */
body.woocommerce-checkout .wp-block-woocommerce-checkout :is(
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar
) {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-card);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout :is(
  .wc-block-components-order-summary,
  .wc-block-components-text-input input,
  .wc-block-components-combobox-control input,
  textarea,
  select
) {
  border-radius: var(--art-radius-field);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary {
  overflow: hidden;
}

/* Dokan Pro renders the biography directly after the profile frame. */
body.the-art-vendor-biography .dokan-single-store #vendor-biography {
  margin-top: clamp(2rem, 1.5rem + 1.25vw, 2.75rem);
}

@media (max-width: 767px) {
  :root {
    --art-notice-icon-size: 18px;
    --art-notice-icon-gap: 11px;
    --art-notice-padding-block: 14px;
    --art-notice-padding-inline: 16px;
  }

  body.woocommerce-cart .cart-collaterals :is(.cart_totals, .cross-sells),
  body.woocommerce-cart .wp-block-woocommerce-cart :is(.wc-block-cart__main, .wc-block-cart__sidebar),
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
  body.woocommerce-checkout form.checkout #customer_details > :is(.col-1, .col-2),
  body.woocommerce-checkout form.checkout #order_review,
  body.woocommerce-checkout .wp-block-woocommerce-checkout :is(.wc-block-checkout__main, .wc-block-checkout__sidebar) {
    padding: 18px;
  }

  body.woocommerce-checkout #payment {
    margin-top: 20px;
  }

  body.woocommerce-checkout #payment ul.payment_methods,
  body.woocommerce-checkout #payment .place-order {
    padding: 18px;
  }
}

@media (max-width: 600px) {
  :is(
    .dokan-alert,
    .dokan-info,
    .dokan-message,
    .dokan-error,
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error,
    .woocommerce-store-notice,
    .art-error.is-visible,
    .art-upload-status.is-visible.is-success,
    .art-upload-status.is-visible.is-warning
  ) {
    margin-bottom: 16px;
  }

  :is(
    .dokan-alert,
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error
  ) a.button {
    display: flex;
    float: none;
    width: fit-content;
    max-width: 100%;
    margin: 12px 0 0;
  }

  .wc-block-components-notice-banner__content .wc-forward {
    display: flex;
    float: none;
    width: fit-content;
    max-width: 100%;
    margin: 12px 0 0;
  }

  .woocommerce-store-notice {
    margin: 0;
  }
}

@media (max-width: 479px) {
  .dokan-single-store .dokan-store-products-ordeby {
    grid-template-columns: minmax(0, 1fr);
  }

  .dokan-single-store .dokan-store-products-filter-area .search-store-products,
  .dokan-single-store .dokan-store-products-filter-area .orderby-search {
    width: 100%;
    grid-column: 1;
  }
}

@media (max-width: 359px) {
  :root {
    --art-notice-icon-gap: 10px;
    --art-notice-padding-inline: 14px;
  }
}

.dokan-store-wrap,
.dokan-store-wrap * {
  box-sizing: border-box;
}

.dokan-store-wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  background: transparent;
  color: var(--art-text-primary);
}

.dokan-store-wrap > #dokan-primary.dokan-single-store {
  width: 100% !important;
  max-width: none;
  margin: 0;
  float: none;
}

/* Profile card: banner, summary, actions and tabs remain one visual unit. */
.dokan-single-store .dokan-profile-frame-wrapper {
  background: var(--art-surface-card);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-header);
  box-shadow: var(--art-shadow-soft);
}

.dokan-single-store .profile-frame {
  overflow: hidden;
  background: var(--art-surface-card);
  border-radius: var(--art-radius-header) var(--art-radius-header) 0 0;
}

.dokan-single-store .profile-frame .profile-info-box,
.dokan-single-store .profile-frame .profile-info-summery-wrapper {
  border: 0;
  background-color: var(--art-surface-card);
}

.dokan-single-store .profile-frame .profile-info-box > .profile-info-img {
  border-radius: var(--art-radius-header) var(--art-radius-header) 0 0;
}

.dokan-single-store .profile-frame .profile-info-head .profile-img {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.dokan-single-store .profile-frame .profile-info-head .profile-img img {
  display: block;
  margin-inline: auto;
  padding: 3px;
  border: 2px solid var(--art-surface-card);
  background: var(--art-surface-card);
  box-shadow: 0 5px 18px rgba(18, 27, 31, .1);
}

.dokan-single-store .profile-frame .profile-info .store-name {
  margin: 0 0 12px;
  color: var(--art-text-primary);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.dokan-single-store .profile-frame .profile-info .dokan-store-info {
  color: var(--art-text-muted);
}

.dokan-single-store .profile-frame .profile-info .the-art-profile-country {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--art-text-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.dokan-single-store .profile-frame .profile-info .the-art-profile-country svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: currentColor;
}

/*
 * Dokan leaves its desktop store-info list with inline-start padding. Since
 * the country row fills that list's content box, the padding shifts the whole
 * icon-and-label unit away from the avatar/name axis. Mobile already resets
 * this list padding in Dokan's responsive layer, so keep the correction
 * desktop-only and align the shared identity container instead of offsetting
 * the country row itself.
 */
@media (min-width: 768px) {
  .dokan-single-store .profile-frame .profile-info .dokan-store-info {
    padding-inline: 0;
  }
}

.dokan-single-store .profile-frame .store-social-wrapper {
  margin-top: 8px;
  margin-bottom: 20px;
}

.dokan-single-store .profile-frame ul.store-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dokan-single-store .profile-frame ul.store-social > li {
  display: flex !important;
  margin: 0 !important;
}

.dokan-single-store .profile-frame ul.store-social a {
  display: flex !important;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 50%;
}

.dokan-single-store .profile-frame .the-art-website-icon {
  display: block;
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1199px) {
  .dokan-single-store .profile-frame .the-art-website-icon {
    width: 20px;
    height: 20px;
  }
}

/* Restore layout2's banner-then-summary flow above Dokan's desktop breakpoint. */
@media (min-width: 1200px) {
  .dokan-single-store .profile-info-box.profile-layout-layout2.the-art-has-store-banner {
    overflow: visible;
    aspect-ratio: auto;
  }

  .dokan-single-store .profile-info-box.profile-layout-layout2.the-art-has-store-banner > .profile-info-img {
    position: relative;
    inset: auto;
    height: auto !important;
  }

  .dokan-single-store .profile-info-box.profile-layout-layout2.the-art-has-store-banner .profile-info-summery-wrapper {
    position: relative;
    inset: auto;
    height: auto;
  }

  .dokan-single-store .profile-info-box.profile-layout-layout2.the-art-has-store-banner .profile-info-summery {
    min-height: 0 !important;
  }
}

/* Follow/share actions and tab navigation. */
.dokan-single-store .dokan-store-tabs {
  overflow: hidden;
  border-radius: 0 0 var(--art-radius-header) var(--art-radius-header);
  text-align: center;
}

.dokan-single-store .dokan-store-tabs ul.dokan-modules-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px 20px;
  border: 0;
  background: var(--art-surface-card);
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button,
.dokan-single-store .dokan-store-tabs .dokan-share-btn {
  min-width: 132px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 24px !important;
  border: 1px solid var(--art-action-dark) !important;
  border-radius: var(--art-radius-button) !important;
  background: var(--art-action-dark) !important;
  box-shadow: none !important;
  color: var(--art-surface-card) !important;
  font: inherit;
  font-weight: 600;
  line-height: 1.2 !important;
  text-decoration: none;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button:hover,
.dokan-single-store .dokan-store-tabs .dokan-share-btn:hover {
  border-color: #263034 !important;
  background: #263034 !important;
  color: var(--art-surface-card) !important;
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M18%208a6%206%200%200%200-12%200c0%207-3%207-3%209h18c0-2-3-2-3-9'/%3E%3Cpath%20d='M10%2021h4'/%3E%3C/svg%3E");
  flex: 0 0 18px;
}

.dokan-single-store .dokan-store-tabs .dokan-share-btn i {
  order: -1;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px 0 0;
  flex: 0 0 18px;
  font-size: 14px;
  line-height: 1;
}

/* Keep Dokan's share destinations while presenting its overlay as The ART. */
body:has(.dokan-share-store-modals[aria-hidden="false"]) {
  overflow: hidden;
}

body:has(.dokan-share-store-modals[aria-hidden="false"]) > .iziModal-overlay {
  z-index: 1000002 !important;
  background: rgba(8, 13, 15, .66) !important;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

body:has(.dokan-share-store-modals[aria-hidden="false"]) [data-hdsb] {
  visibility: hidden !important;
  pointer-events: none !important;
}

.dokan-share-store-modals.iziModal {
  width: min(460px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  height: fit-content !important;
  max-height: calc(100dvh - 48px) !important;
  border: 1px solid rgba(8, 13, 15, .1) !important;
  border-radius: 26px !important;
  background: var(--art-surface-card) !important;
  box-shadow: 0 28px 80px rgba(8, 13, 15, .28) !important;
  color: var(--art-text-primary) !important;
  overflow: hidden auto !important;
  z-index: 1000003 !important;
}

.dokan-share-store-modals .iziModal-wrap {
  height: auto !important;
}

.dokan-share-store-modals .iziModal-content {
  padding: 0 !important;
}

.dokan-share-store-modals .dokan-share-wrap {
  box-sizing: border-box;
  position: relative;
  display: flex !important;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 34px 38px !important;
  color: var(--art-text-primary);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-align: center;
}

.dokan-share-store-modals .dokan-izimodal-close-btn {
  position: absolute !important;
  z-index: 2;
  top: 16px !important;
  right: 16px !important;
}

.dokan-share-store-modals .dokan-izimodal-close-btn button {
  display: grid !important;
  width: 40px;
  height: 40px;
  place-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f1f0ed !important;
  box-shadow: none !important;
  color: var(--art-action-dark) !important;
  cursor: pointer;
}

.dokan-share-store-modals .dokan-izimodal-close-btn button:hover,
.dokan-share-store-modals .dokan-izimodal-close-btn button:focus-visible {
  background: var(--art-action-dark) !important;
  color: var(--art-surface-card) !important;
  outline: none;
}

.dokan-share-store-modals .dokan-izimodal-close-btn i {
  margin: 0 !important;
  font-size: 17px;
  line-height: 1;
}

.dokan-share-store-modals .dokan-share.jssocials {
  width: 100%;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1;
}

.dokan-share-store-modals .jssocials-shares {
  display: grid !important;
  grid-template-columns: repeat(5, 52px);
  justify-content: center;
  gap: 12px;
  margin: 0 !important;
}

.dokan-share-store-modals .jssocials-share {
  width: 52px;
  height: 52px;
  margin: 0 !important;
}

.dokan-share-store-modals .jssocials-share-link {
  display: grid !important;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid var(--art-border-soft);
  border-radius: 50%;
  background: #f7f6f3;
  box-shadow: none;
  color: var(--art-action-dark) !important;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dokan-share-store-modals .jssocials-share-link:hover,
.dokan-share-store-modals .jssocials-share-link:focus-visible {
  border-color: var(--art-action-dark);
  background: var(--art-action-dark);
  color: var(--art-surface-card) !important;
  outline: none;
}

.dokan-share-store-modals .jssocials-share-logo {
  margin: 0 !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button[data-status="following"]::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23fff'%20d='M20%2017H4c1.4-1.6%202-3.7%202-6V8a6%206%200%200%201%2012%200v3c0%202.3.6%204.4%202%206Z'/%3E%3Cpath%20fill='%23fff'%20d='M9.5%2019a2.5%202.5%200%200%200%205%200Z'/%3E%3C/svg%3E");
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button[data-status="following"]:hover .dokan-follow-store-button-label-current {
  display: inline-block;
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button[data-status="following"]:hover .dokan-follow-store-button-label-unfollow {
  display: none;
}

.dokan-single-store .dokan-store-tabs .dokan-follow-store-button.dokan-follow-store-button-working::before {
  opacity: 0;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--art-border-soft);
  border-radius: 0 0 var(--art-radius-header) var(--art-radius-header);
  background: var(--art-surface-card);
  font-size: 15px;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li {
  min-width: 0;
  flex: 1 1 0;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--art-border-soft);
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li:last-child {
  border-right: 0;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline a {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: transparent;
  color: var(--art-text-muted);
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline a:hover {
  background: rgba(232, 227, 219, .42);
  color: var(--art-text-primary);
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.is-active a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.current a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline a[aria-current="page"] {
  background: rgba(232, 227, 219, .68);
  color: var(--art-text-primary);
  font-weight: 650;
}

/* Product search and sorting stay outside the profile card. */
.dokan-single-store .dokan-store-products-filter-area {
  margin: clamp(28px, 4vw, 46px) 0 30px;
}

.dokan-single-store .dokan-store-products-ordeby {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(210px, auto);
  align-items: center;
  gap: 12px;
}

.dokan-single-store .dokan-store-products-filter-area .product-name-search,
.dokan-single-store .dokan-store-products-filter-area .orderby-search {
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  float: none;
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-field);
  background: var(--art-surface-card);
  color: var(--art-text-primary);
  line-height: normal;
  box-shadow: none;
}

.dokan-single-store .dokan-store-products-filter-area .search-store-products {
  min-width: 112px;
  height: 48px;
  margin: 0;
  padding: 0 24px;
  float: none;
  border: 1px solid var(--art-action-dark);
  border-radius: var(--art-radius-button);
  background: var(--art-action-dark);
  color: var(--art-surface-card);
  font-weight: 600;
  line-height: 46px;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.dokan-single-store .dokan-store-products-filter-area .search-store-products:hover {
  border-color: #263034;
  background: #263034;
  color: var(--art-surface-card);
}

.dokan-single-store .dokan-store-products-filter-area #dokan-store-products-search-result {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  top: 52px;
  max-width: min(100%, 520px);
  border: 1px solid var(--art-border-soft);
  border-radius: var(--art-radius-field);
  background: var(--art-surface-card);
  box-shadow: var(--art-shadow-soft);
  color: var(--art-text-primary);
  line-height: 1.5;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Consistent keyboard focus without relying on hover alone. */
.dokan-store-wrap :where(
  .dokan-follow-store-button,
  .dokan-share-btn,
  .dokan-store-tabs a,
  .store-social a,
  .search-store-products,
  .dokan-store-products-filter-search,
  .orderby-search
):focus-visible {
  outline: 3px solid var(--art-focus-ring) !important;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .dokan-single-store .profile-frame .profile-info-summery-wrapper {
    padding-bottom: 2px;
  }

  .dokan-single-store .profile-frame .store-social-wrapper {
    margin-bottom: 18px;
  }
}

@media (max-width: 767px) {
  .dokan-single-store .dokan-profile-frame-wrapper {
    border-radius: var(--art-radius-card);
  }

  .dokan-single-store .profile-frame,
  .dokan-single-store .profile-frame .profile-info-box > .profile-info-img {
    border-radius: var(--art-radius-media) var(--art-radius-media) 0 0;
  }

  .dokan-single-store .dokan-store-tabs,
  .dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
    border-radius: 0 0 var(--art-radius-media) var(--art-radius-media);
  }

  .dokan-single-store .dokan-store-tabs ul.dokan-modules-button {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 16px 18px;
  }

  .dokan-single-store .dokan-store-tabs .dokan-follow-store-button,
  .dokan-single-store .dokan-store-tabs .dokan-share-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 16px !important;
  }

  .dokan-share-store-modals.iziModal {
    width: min(460px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 22px !important;
  }

  .dokan-share-store-modals .dokan-share-wrap {
    min-height: 220px;
    padding: 42px 18px 30px !important;
  }

  .dokan-share-store-modals .dokan-share.jssocials {
    margin-top: 24px;
  }

  .dokan-share-store-modals .jssocials-shares {
    grid-template-columns: repeat(5, 48px);
    gap: 8px;
  }

  .dokan-share-store-modals .jssocials-share,
  .dokan-share-store-modals .jssocials-share-link {
    width: 48px;
    height: 48px;
  }

  .dokan-single-store .dokan-store-tabs ul.dokan-list-inline a {
    min-height: 48px;
    padding-inline: 10px;
  }

  .dokan-single-store .dokan-store-products-ordeby {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dokan-single-store .dokan-store-products-filter-area .orderby-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 359px) {
  .dokan-share-store-modals .jssocials-shares {
    grid-template-columns: repeat(5, 44px);
    gap: 6px;
  }

  .dokan-share-store-modals .jssocials-share,
  .dokan-share-store-modals .jssocials-share-link {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 359px) {
  .dokan-single-store .dokan-store-tabs ul.dokan-modules-button,
  .dokan-single-store .dokan-store-products-ordeby {
    grid-template-columns: minmax(0, 1fr);
  }

  .dokan-single-store .dokan-store-products-filter-area .search-store-products,
  .dokan-single-store .dokan-store-products-filter-area .orderby-search {
    width: 100%;
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dokan-single-store .dokan-store-tabs :where(.dokan-follow-store-button, .dokan-share-btn, a),
  .dokan-single-store .dokan-store-products-filter-area .search-store-products {
    transition: none;
  }
}

.dokan-single-store .profile-info-head .profile-img img {
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1200px) {
  .dokan-single-store .profile-info-box.the-art-has-store-banner {
    aspect-ratio: 8 / 3;
    overflow: hidden;
  }

  .dokan-single-store .profile-info-box.the-art-has-store-banner > .profile-info-img {
    position: absolute;
    inset: 0;
    height: 100% !important;
  }

  .dokan-single-store .profile-info-box.the-art-has-store-banner .profile-info-summery-wrapper {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .dokan-single-store .profile-info-box.profile-layout-default.the-art-has-store-banner .profile-info-summery-wrapper {
    background-color: transparent;
  }

  .dokan-single-store .profile-info-box.the-art-has-store-banner .profile-info-summery {
    min-height: 0 !important;
  }
}

@supports not (aspect-ratio: 8 / 3) {
  .dokan-single-store .profile-info-box.the-art-has-store-banner > .profile-info-img {
    height: auto !important;
  }

  @media (min-width: 1200px) {
    .dokan-single-store .profile-info-box.the-art-has-store-banner {
      height: 0;
      padding-bottom: 37.5%;
    }

    .dokan-single-store .profile-info-box.profile-layout-layout2.the-art-has-store-banner {
      height: auto;
      padding-bottom: 0;
    }
  }
}
