/* Public Dokan storefront — faithful RTL implementation of the supplied design. */
:root {
  --vdvs-primary: #775a19;
  --vdvs-primary-container: #c5a059;
  --vdvs-surface: #fff8f5;
  --vdvs-surface-low: #fbf2ed;
  --vdvs-surface-container: #f5ece7;
  --vdvs-ink: #1e1b18;
  --vdvs-muted: #656461;
  --vdvs-outline: #d1c5b4;
}

body.dokan-store { background: var(--vdvs-surface); }
body.dokan-store .vd-site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,245,.9); border-bottom-color: rgba(209,197,180,.38); backdrop-filter: blur(14px); }
body.dokan-store .vd-main-header__inner { width: min(calc(100% - 64px), 1280px); min-height: 80px; }
body.dokan-store .vd-wordmark { color: var(--vdvs-primary); }
body.dokan-store .vd-seller-button { color: var(--vdvs-primary); background: transparent; border: 0; }
body.dokan-store .vd-primary-menu > li.current-menu-item > a,
body.dokan-store .vd-primary-menu > li > a:hover { color: var(--vdvs-primary); }

.vdvs-store { min-height: 80vh; overflow: hidden; color: var(--vdvs-ink); background: var(--vdvs-surface); }
.vdvs-shell { width: min(calc(100% - 128px), 1280px); margin-inline: auto; }
.vdvs-store img { display: block; }

.vdvs-hero { position: relative; }
.vdvs-hero__cover { height: 350px; overflow: hidden; background: var(--vdvs-surface-container); }
.vdvs-hero__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; transition: transform .8s ease; }
.vdvs-hero:hover .vdvs-hero__cover img { transform: scale(1.025); }
.vdvs-profile-wrap { position: relative; z-index: 2; margin-top: -80px; }
.vdvs-profile-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 176px; padding: 24px 32px; background: var(--vdvs-surface); border: 1px solid rgba(209,197,180,.28); box-shadow: 0 34px 46px -30px rgba(119,90,25,.18); }
.vdvs-profile-card__identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.vdvs-profile-card__logo { flex: 0 0 128px; width: 128px; height: 128px; overflow: hidden; background: var(--vdvs-surface-container); border: 3px solid var(--vdvs-surface); box-shadow: 0 18px 30px -20px rgba(50,40,22,.32); }
.vdvs-profile-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.vdvs-profile-card__title { display: flex; align-items: center; gap: 9px; }
.vdvs-profile-card h1 { margin: 0; color: var(--vdvs-ink); font-size: 1.55rem; line-height: 1.35; }
.vdvs-verified { display: inline-grid; width: 21px; height: 21px; place-items: center; color: #fff; background: var(--vdvs-primary); border-radius: 50%; font-size: .75rem; font-weight: 900; }
.vdvs-profile-card__meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--vdvs-muted); }
.vdvs-profile-card__meta > span + span { padding-inline-start: 14px; border-inline-start: 1px solid var(--vdvs-outline); }
.vdvs-rating { display: inline-flex; align-items: center; gap: 5px; color: var(--vdvs-primary); font-weight: 700; }
.vdvs-rating .vd-icon { width: 16px; height: 16px; fill: currentColor; }
.vdvs-profile-card__actions { display: flex; flex: 0 0 auto; gap: 12px; }
.vdvs-button { display: inline-flex; min-width: 138px; min-height: 46px; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid var(--vdvs-primary); border-radius: 0; font-weight: 700; transition: color .2s ease, background .2s ease, transform .2s ease; }
.vdvs-button:active { transform: scale(.97); }
.vdvs-button--outline { color: var(--vdvs-primary); background: transparent; }
.vdvs-button--outline:hover, .vdvs-button--outline[aria-pressed="true"] { color: #fff; background: var(--vdvs-primary); }
.vdvs-button--primary { color: #fff; background: var(--vdvs-primary); }
.vdvs-button--primary:hover { color: #fff; background: #5f4714; }

.vdvs-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.vdvs-stats > div { display: flex; min-height: 116px; align-items: center; justify-content: center; flex-direction: column; padding: 22px; text-align: center; background: var(--vdvs-surface-low); border-bottom: 1px solid rgba(119,90,25,.28); }
.vdvs-stats span { margin-bottom: 7px; color: var(--vdvs-muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.vdvs-stats strong { color: var(--vdvs-primary); font-size: 1.55rem; }

.vdvs-tabs { display: flex; gap: 48px; margin-top: 48px; overflow-x: auto; border-bottom: 1px solid rgba(209,197,180,.42); scrollbar-width: thin; scrollbar-color: var(--vdvs-primary-container) transparent; }
.vdvs-tabs a { position: relative; flex: 0 0 auto; padding: 0 0 16px; color: var(--vdvs-muted); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.vdvs-tabs a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--vdvs-primary); content: ""; opacity: 0; transform: scaleX(.45); transition: opacity .2s ease, transform .2s ease; }
.vdvs-tabs a:hover, .vdvs-tabs a.is-active { color: var(--vdvs-primary); }
.vdvs-tabs a:hover::after, .vdvs-tabs a.is-active::after { opacity: 1; transform: none; }

.vdvs-offers { padding-top: 62px; scroll-margin-top: 100px; }
.vdvs-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.vdvs-section-heading > div:first-child > span, .vdvs-about__copy > span { display: block; margin-bottom: 8px; color: var(--vdvs-primary); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.vdvs-section-heading h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.15; }
.vdvs-offer-arrows { display: flex; gap: 10px; direction: ltr; }
.vdvs-offer-arrows span { display: grid; width: 46px; height: 46px; place-items: center; color: var(--vdvs-muted); border: 1px solid var(--vdvs-outline); font-size: 1.8rem; }
.vdvs-offers__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.vdvs-offer { position: relative; height: 400px; overflow: hidden; color: #fff; background: #6c6257; }
.vdvs-offer::after { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.68),rgba(0,0,0,0) 72%); content: ""; }
.vdvs-offer > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.vdvs-offer:hover > img { transform: scale(1.07); }
.vdvs-offer__discount { position: absolute; z-index: 2; top: 24px; right: 24px; padding: 6px 14px; color: #fff; background: var(--vdvs-primary); font-size: .76rem; font-weight: 700; }
.vdvs-offer > div { position: absolute; z-index: 2; right: 30px; bottom: 30px; left: 30px; }
.vdvs-offer h3 { margin: 0 0 7px; color: #fff; font-size: 1.45rem; }
.vdvs-offer p { margin: 0 0 18px; color: rgba(255,255,255,.82); }
.vdvs-offer a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 21px; color: var(--vdvs-ink); background: #fff; font-weight: 700; }
.vdvs-offer a:hover { color: #fff; background: var(--vdvs-primary); }

.vdvs-products { padding-top: 92px; scroll-margin-top: 100px; }
.vdvs-products__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.vdvs-products__header h2 { margin: 0; font-size: 1.55rem; }
.vdvs-products__header h2 span { margin-inline-start: 6px; color: var(--vdvs-muted); font-size: .95rem; font-weight: 400; }
.vdvs-ordering { display: flex; align-items: center; gap: 9px; color: var(--vdvs-muted); }
.vdvs-ordering .woocommerce-ordering { margin: 0; }
.vdvs-ordering select { width: auto; min-height: 40px; padding: 5px 10px 5px 30px; color: var(--vdvs-primary); background-color: transparent; border: 0; box-shadow: none; font-family: inherit; font-weight: 700; }
.vdvs-products__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 44px 24px; }
.vdvs-product-card { min-width: 0; text-align: center; }
.vdvs-product-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 14px; background: var(--vdvs-surface-container); }
.vdvs-product-card__media > a, .vdvs-product-card__media img { display: block; width: 100%; height: 100%; }
.vdvs-product-card__media img { object-fit: cover; transition: transform .5s ease; }
.vdvs-product-card:hover .vdvs-product-card__media img { transform: scale(1.055); }
.vdvs-product-card__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.42); opacity: 0; transform: translateY(14px); backdrop-filter: blur(2px); transition: opacity .25s ease, transform .25s ease; }
.vdvs-product-card:hover .vdvs-product-card__overlay, .vdvs-product-card:focus-within .vdvs-product-card__overlay { opacity: 1; transform: none; }
.vdvs-product-card__cart { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 23px; color: #fff; background: var(--vdvs-primary); font-weight: 700; }
.vdvs-product-card__cart:hover { color: #fff; background: #5f4714; }
.vdvs-product-card h3 { min-height: 1.5em; margin: 0 0 3px; font-size: .96rem; }
.vdvs-product-card h3 a { color: var(--vdvs-ink); }
.vdvs-product-card__price { color: var(--vdvs-primary); font-weight: 800; }
.vdvs-product-card__price del { color: var(--vdvs-muted); font-size: .75rem; font-weight: 400; }
.vdvs-product-card__price ins { text-decoration: none; }
.vdvs-product-card__rating { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 5px; color: rgba(101,100,97,.7); font-size: .72rem; }
.vdvs-product-card__rating .vd-icon { width: 13px; height: 13px; fill: currentColor; }
.vdvs-load-more { display: flex; justify-content: center; margin-top: 60px; }
.vdvs-load-more button { min-width: 260px; min-height: 48px; padding: 12px 28px; color: var(--vdvs-muted); text-align: center; background: transparent; border: 1px solid #7f7667; border-radius: 0; font-family: inherit; font-weight: 600; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.vdvs-load-more button:hover:not(:disabled) { color: #fff; background: var(--vdvs-primary); border-color: var(--vdvs-primary); }
.vdvs-load-more button.is-loading { cursor: wait; opacity: .75; }
.vdvs-load-more button.is-complete { color: var(--vdvs-primary); background: var(--vdvs-surface-low); border-color: rgba(119,90,25,.28); cursor: default; }
.vdvs-load-more button.has-error { color: #93000a; border-color: #ba1a1a; }

.vdvs-about { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 64px; margin: 120px 0 96px; padding: 48px; background: var(--vdvs-surface-low); border: 1px solid rgba(209,197,180,.3); scroll-margin-top: 100px; }
.vdvs-about__copy h2 { margin: 0 0 22px; font-size: 1.65rem; }
.vdvs-about__copy > p { margin: 0 0 28px; color: var(--vdvs-muted); font-size: 1.04rem; line-height: 1.85; }
.vdvs-about__facts { display: flex; flex-wrap: wrap; gap: 36px; }
.vdvs-about__facts > div { display: flex; flex-direction: column; }
.vdvs-about__facts strong { color: var(--vdvs-primary); font-size: 1.55rem; }
.vdvs-about__facts span { color: var(--vdvs-muted); }
.vdvs-about__image { aspect-ratio: 1 / 1; overflow: hidden; }
.vdvs-about__image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1050px) {
  .vdvs-shell { width: min(calc(100% - 64px), 960px); }
  .vdvs-profile-card { align-items: flex-start; flex-direction: column; }
  .vdvs-profile-card__actions { align-self: flex-end; margin-top: -64px; }
  .vdvs-products__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vdvs-about { gap: 40px; padding: 38px; }
}

@media (max-width: 820px) {
  body.dokan-store .vd-main-header__inner { width: min(calc(100% - 32px), 720px); min-height: 66px; }
  .vdvs-shell { width: min(calc(100% - 32px), 720px); }
  .vdvs-hero__cover { height: 280px; }
  .vdvs-profile-wrap { margin-top: -52px; }
  .vdvs-profile-card { min-height: 0; padding: 22px; }
  .vdvs-profile-card__logo { flex-basis: 96px; width: 96px; height: 96px; }
  .vdvs-profile-card__actions { align-self: stretch; width: 100%; margin-top: 0; }
  .vdvs-button { flex: 1; }
  .vdvs-stats { gap: 12px; margin-top: 36px; }
  .vdvs-tabs { gap: 32px; }
  .vdvs-offers__grid { grid-template-columns: 1fr; }
  .vdvs-offer { height: 350px; }
  .vdvs-products { padding-top: 70px; }
  .vdvs-products__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 16px; }
  .vdvs-about { grid-template-columns: 1fr; margin-top: 90px; }
  .vdvs-about__image { max-height: 500px; }
}

@media (max-width: 560px) {
  .vdvs-hero__cover { height: 230px; }
  .vdvs-profile-card__identity { align-items: flex-start; gap: 14px; }
  .vdvs-profile-card__logo { flex-basis: 72px; width: 72px; height: 72px; }
  .vdvs-profile-card h1 { font-size: 1.15rem; }
  .vdvs-profile-card__meta { gap: 9px; margin-top: 6px; font-size: .78rem; }
  .vdvs-profile-card__meta > span + span { padding-inline-start: 9px; }
  .vdvs-profile-card__actions { gap: 8px; }
  .vdvs-button { min-width: 0; min-height: 42px; padding: 8px 10px; font-size: .78rem; }
  .vdvs-stats { grid-template-columns: 1fr; }
  .vdvs-stats > div { min-height: 82px; }
  .vdvs-tabs { margin-top: 36px; }
  .vdvs-offers { padding-top: 48px; }
  .vdvs-section-heading h2 { font-size: 2rem; }
  .vdvs-offer-arrows { display: none; }
  .vdvs-offer { height: 310px; }
  .vdvs-offer > div { right: 20px; bottom: 22px; left: 20px; }
  .vdvs-products__header { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .vdvs-ordering { width: 100%; justify-content: space-between; }
  .vdvs-product-card h3 { font-size: .82rem; }
  .vdvs-product-card__price { font-size: .86rem; }
  .vdvs-product-card__overlay { top: auto; right: 8px; bottom: 8px; left: auto; width: 42px; height: 42px; opacity: 1; transform: none; background: transparent; backdrop-filter: none; }
  .vdvs-product-card__cart { position: relative; width: 42px; min-height: 42px; overflow: hidden; padding: 0; color: transparent; border-radius: 50%; }
  .vdvs-product-card__cart::after { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; content: "+"; font-size: 1.35rem; }
  .vdvs-load-more { margin-top: 42px; }
  .vdvs-about { gap: 32px; margin: 80px 0 65px; padding: 26px 20px; }
  .vdvs-about__copy > p { font-size: .93rem; }
}
