/* DD Home yellow-black look (v2, 2026-11). Loaded only by views/frontend/header_v2.tpl.php.
   Colours are the shop's own: yellow #FDCD2E, dark #1E2228, red for prices.
   Everything is prefixed "ddh-" so the old Bootstrap/ui.css pages are not touched. */
:root {
	--ddh-yellow: #FDCD2E;
	--ddh-yellow-soft: #FFF4CC;
	--ddh-dark: #1E2228;
	--ddh-ink: #14161A;
	--ddh-text: #2A2D33;
	--ddh-muted: #5B6068;
	--ddh-line: #E5E4DE;
	--ddh-soft: #F6F5F0;
	--ddh-red: #C40C36;
	--ddh-green: #06C755;
	--ddh-green-ink: #06301A;
	--ddh-head: 'Kanit', 'Noto Sans Thai', sans-serif;
}

.ddh-stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--ddh-yellow) 0 12px, var(--ddh-dark) 12px 24px); }
.ddh-stripe--dark { height: 12px; background: repeating-linear-gradient(-45deg, var(--ddh-dark) 0 12px, var(--ddh-yellow) 12px 24px); }
.ddh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ddh-phone-only { display: none; }

/* ---------- top bar ---------- */
.ddh-topbar { background: var(--ddh-dark); color: #E9E9E6; font-size: 13px; }
.ddh-topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.ddh-topbar a { color: #E9E9E6; }
.ddh-topbar a:hover { color: #FFFFFF; }
.ddh-topbar i { color: var(--ddh-yellow); margin-right: 6px; }
.ddh-topbar__info, .ddh-topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }

/* ---------- main header ---------- */
.ddh-header { position: relative; z-index: 1030; background: #FFFFFF; border-bottom: 1px solid var(--ddh-line); }
.ddh-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 14px; padding-bottom: 14px; }
.ddh-logo { display: flex; flex: 0 0 auto; }
.ddh-logo img { display: block; height: 54px; width: auto; }
.ddh-search { position: relative; flex: 1 1 360px; min-width: 0; max-width: 720px; margin: 0; }
.ddh-search__box { display: flex; overflow: hidden; border: 2px solid var(--ddh-dark); border-radius: 12px; background: #FFFFFF; }
.ddh-search input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ddh-dark); font-size: 15px; }
.ddh-search button { flex: 0 0 auto; width: 60px; border: 0; background: var(--ddh-yellow); color: var(--ddh-dark); font-size: 18px; cursor: pointer; }
.ddh-search button:hover { filter: brightness(.95); }
.ddh-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ddh-btn-line { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; background: var(--ddh-green); color: var(--ddh-green-ink) !important; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none !important; }
.ddh-btn-line i { font-size: 20px; }
.ddh-btn-line:hover { filter: brightness(.96); }
.ddh-icon-link { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; height: 46px; color: var(--ddh-dark) !important; font-size: 12px; text-decoration: none !important; }
.ddh-icon-link i { margin-bottom: 2px; font-size: 19px; }
.ddh-cart-count { position: absolute; top: -3px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ddh-red); color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.ddh-cart-count:empty { display: none; }
.ddh-menu-btn { display: none; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ddh-dark); color: var(--ddh-yellow); font-size: 20px; cursor: pointer; }

/* ---------- category bar ---------- */
.ddh-nav { background: var(--ddh-dark); }
.ddh-nav .container { display: flex; align-items: center; gap: 4px; padding-top: 6px; padding-bottom: 6px; overflow-x: auto; white-space: nowrap; }
.ddh-nav__all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 40px; margin-right: 8px; padding: 0 16px; border-radius: 10px; background: var(--ddh-yellow); color: var(--ddh-dark) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.ddh-nav__link { flex: 0 0 auto; padding: 0 12px; color: #FFFFFF !important; font-size: 15px; line-height: 40px; }
.ddh-nav__link:hover { color: var(--ddh-yellow) !important; text-decoration: none; }
.ddh-nav__partners { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin-left: auto; padding-left: 12px; }
.ddh-nav__partners > span { color: #A9ABB0; font-size: 13px; }
.ddh-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1.5px solid var(--ddh-yellow); border-radius: 999px; color: var(--ddh-yellow) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.ddh-chip:hover { background: var(--ddh-yellow); color: var(--ddh-dark) !important; }

/* ---------- phone menu + chips (shown on small screens) ---------- */
.ddh-mobile-menu { background: #FFFFFF; border-bottom: 1px solid var(--ddh-line); }
.ddh-mobile-menu h3 { margin: 14px 0 4px; color: var(--ddh-muted); font-size: 13px; font-weight: 600; }
.ddh-mobile-menu ul { margin: 0; padding: 0 0 8px; list-style: none; }
.ddh-mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--ddh-soft); color: var(--ddh-dark) !important; font-weight: 500; text-decoration: none !important; }
.ddh-mobile-menu a i { width: 20px; color: var(--ddh-dark); text-align: center; }
.ddh-chips { display: none; }

/* ---------- buttons ---------- */
.ddh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none !important; cursor: pointer; }
.ddh-btn--dark { background: var(--ddh-dark); color: #FFFFFF !important; }
.ddh-btn--dark:hover { background: #000000; }
.ddh-btn--outline { border-color: var(--ddh-dark); background: #FFFFFF; color: var(--ddh-dark) !important; }
.ddh-btn--outline .fa-line { color: #06A847; font-size: 20px; }
.ddh-btn--line { border-color: var(--ddh-dark); background: var(--ddh-green); color: var(--ddh-green-ink) !important; }
.ddh-btn--line .fa-line { font-size: 20px; }

/* ---------- homepage ---------- */
.ddh-home { background: #FFFFFF; color: var(--ddh-dark); font-size: 16px; line-height: 1.5; }
.ddh-home h1, .ddh-home h2, .ddh-home h3, .ddh-home h4 { color: inherit; }
.ddh-section { padding-top: 56px; padding-bottom: 56px; }
.ddh-section--soft { background: var(--ddh-soft); }
.ddh-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.ddh-h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--ddh-head); font-size: 30px; font-weight: 600; line-height: 1.25; }
.ddh-h2::before { content: ""; flex: 0 0 auto; width: 8px; height: 30px; border-radius: 2px; background: var(--ddh-yellow); }
.ddh-sub { margin: 6px 0 0 20px; color: var(--ddh-red); font-weight: 600; }
.ddh-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ddh-dark) !important; font-weight: 600; }

/* hero */
.ddh-hero { background: var(--ddh-yellow); color: var(--ddh-ink); }
.ddh-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-top: 56px; padding-bottom: 60px; }
.ddh-hero__text { flex: 1 1 460px; min-width: 0; }
.ddh-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: var(--ddh-dark); color: var(--ddh-yellow); font-size: 14px; font-weight: 600; }
.ddh-hero h1 { margin: 0; color: var(--ddh-ink); font-family: var(--ddh-head); font-size: clamp(34px, 4.2vw, 60px); font-weight: 700; line-height: 1.12; }
.ddh-hero__lead { max-width: 560px; margin: 20px 0 0; color: var(--ddh-text); font-size: 18px; line-height: 1.65; }
.ddh-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ddh-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.ddh-checks li { display: inline-flex; align-items: center; gap: 8px; }
.ddh-hero__tiles { display: grid; flex: 1 1 440px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; padding: 0 6px 6px 0; }
.ddh-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 2px solid var(--ddh-dark); border-radius: 16px; background: #FFFFFF; box-shadow: 6px 6px 0 var(--ddh-dark); color: var(--ddh-dark) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.ddh-tile:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ddh-dark); }
.ddh-tile img { width: 100%; height: 132px; margin-bottom: 8px; object-fit: contain; }
.ddh-tile__name { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ddh-tile__price { color: var(--ddh-red); font-family: var(--ddh-head); font-size: 22px; font-weight: 600; }
.ddh-tile__ask { color: var(--ddh-muted); font-size: 14px; font-weight: 600; }

/* trust strip */
.ddh-trust { border-bottom: 1px solid var(--ddh-line); background: #FFFFFF; }
.ddh-trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; padding-top: 24px; padding-bottom: 24px; }
.ddh-trust__item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ddh-trust__icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ddh-yellow); color: var(--ddh-dark); font-size: 20px; }
.ddh-trust strong { display: block; font-size: 16px; }
.ddh-trust__desc { color: var(--ddh-muted); font-size: 14px; }

/* categories */
.ddh-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ddh-cat { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border: 1px solid var(--ddh-line); border-radius: 14px; background: #FFFFFF; color: var(--ddh-dark) !important; font-weight: 600; line-height: 1.35; text-decoration: none !important; transition: border-color .15s; }
.ddh-cat:hover { border-color: var(--ddh-dark); }
.ddh-cat__icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ddh-yellow-soft); }
.ddh-cat__icon img { width: 32px; height: 32px; }
.ddh-cat__short { display: none; }
.ddh-cat--all { border-color: var(--ddh-dark); background: var(--ddh-dark); color: #FFFFFF !important; }
.ddh-cat--all .ddh-cat__icon { background: var(--ddh-yellow); color: var(--ddh-dark); font-size: 20px; }

/* product cards */
.ddh-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ddh-cards--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ddh-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px; border: 1px solid var(--ddh-line); border-radius: 14px; background: #FFFFFF; color: var(--ddh-dark); transition: border-color .15s, box-shadow .15s; }
.ddh-card:hover { border-color: var(--ddh-dark); box-shadow: 0 6px 18px rgba(20, 22, 26, .08); }
.ddh-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 8px; border-radius: 6px; background: var(--ddh-red); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.ddh-card__img { display: block; }
.ddh-card__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.ddh-card__brand { min-height: 19px; margin: 10px 0 2px; overflow: hidden; color: var(--ddh-muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.ddh-card__title { display: -webkit-box; min-height: 44px; margin: 0; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ddh-card__title a { color: var(--ddh-dark) !important; }
.ddh-card__price { margin: 8px 0 12px; color: var(--ddh-red); font-family: var(--ddh-head); font-size: 22px; font-weight: 600; }
.ddh-card__ask { margin: 8px 0 12px; color: var(--ddh-muted); font-size: 14px; font-weight: 600; }
.ddh-card__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: auto; border: 0; border-radius: 10px; background: var(--ddh-yellow); color: var(--ddh-dark) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.ddh-card__btn:hover { filter: brightness(.95); }
.ddh-card__btn.is-added { background: var(--ddh-dark); color: #FFFFFF !important; }
.ddh-card__btn--line { background: var(--ddh-green); color: var(--ddh-green-ink) !important; }
.ddh-card__btn--line .fa-line { font-size: 18px; }

/* partner band */
.ddh-partners { background: var(--ddh-dark); color: #FFFFFF; }
.ddh-eyebrow { margin: 0 0 8px; color: var(--ddh-yellow); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.ddh-partners h2 { margin: 0; color: #FFFFFF; font-family: var(--ddh-head); font-size: 34px; font-weight: 600; line-height: 1.25; }
.ddh-partners__lead { margin: 8px 0 28px; color: #C9CACD; }
.ddh-partner-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ddh-partner { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 16px; border-bottom: 6px solid var(--ddh-yellow); border-radius: 16px; background: #FFFFFF; color: var(--ddh-dark) !important; text-decoration: none !important; }
.ddh-partner img { flex: 0 0 auto; width: 92px; height: 92px; border: 1px solid var(--ddh-line); border-radius: 12px; object-fit: contain; }
.ddh-partner__name { display: block; font-family: var(--ddh-head); font-size: 24px; font-weight: 700; line-height: 1.2; }
.ddh-partner__name small { color: var(--ddh-muted); font-family: 'Noto Sans Thai', sans-serif; font-size: 15px; font-weight: 500; }
.ddh-partner__desc { display: block; margin-top: 4px; color: var(--ddh-muted); font-size: 14px; }
.ddh-partner__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.ddh-partners__new { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin: 44px 0 18px; }
.ddh-partners__new h3 { margin: 0; color: #FFFFFF; font-family: var(--ddh-head); font-size: 22px; font-weight: 600; }
.ddh-partners__new a { color: var(--ddh-yellow) !important; font-weight: 600; }
.ddh-partners .ddh-card { border-color: transparent; }

/* brands */
.ddh-brands { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.ddh-brand { display: flex; align-items: center; justify-content: center; height: 88px; padding: 12px; border: 1px solid var(--ddh-line); border-radius: 12px; background: #FFFFFF; text-decoration: none !important; }
.ddh-brand:hover { border-color: var(--ddh-dark); }
.ddh-brand img { max-width: 100%; max-height: 56px; }
.ddh-brand--all { border-color: var(--ddh-dark); background: var(--ddh-dark); color: var(--ddh-yellow) !important; font-weight: 600; text-align: center; }

/* contractor box */
.ddh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: 40px; border: 3px solid var(--ddh-dark); border-radius: 20px; background: var(--ddh-yellow); box-shadow: 8px 8px 0 var(--ddh-dark); }
.ddh-cta__text { flex: 1 1 420px; min-width: 0; }
.ddh-cta__eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.ddh-cta h2 { margin: 0; color: var(--ddh-ink); font-family: var(--ddh-head); font-size: 38px; font-weight: 700; line-height: 1.2; }
.ddh-cta__lead { margin: 12px 0 0; color: var(--ddh-text); font-size: 17px; line-height: 1.65; }
.ddh-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ddh-steps { display: grid; flex: 1 1 360px; gap: 12px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ddh-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--ddh-dark); border-radius: 14px; background: #FFFFFF; }
.ddh-steps__n { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ddh-dark); color: var(--ddh-yellow); font-family: var(--ddh-head); font-size: 18px; font-weight: 700; }
.ddh-steps strong { display: block; }
.ddh-steps__desc { color: var(--ddh-muted); font-size: 14px; }

/* services */
.ddh-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ddh-service { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--ddh-line); border-radius: 16px; background: #FFFFFF; }
.ddh-service__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ddh-yellow); color: var(--ddh-dark); font-size: 22px; }
.ddh-service h3 { margin: 6px 0 0; font-family: var(--ddh-head); font-size: 22px; font-weight: 600; }
.ddh-service p { margin: 0; color: var(--ddh-muted); }

/* ---------- footer ---------- */
.ddh-footer { background: var(--ddh-dark); color: #C9CACD; font-size: 15px; }
.ddh-footer a { color: #C9CACD; }
.ddh-footer a:hover { color: #FFFFFF; }
.ddh-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-top: 48px; padding-bottom: 32px; }
.ddh-footer__about { flex: 2 1 300px; min-width: 0; }
.ddh-footer__about img { display: block; height: 52px; width: auto; }
.ddh-footer__about p { margin: 16px 0 0; line-height: 1.7; }
.ddh-footer__contact { display: grid; gap: 6px; margin-top: 16px; color: #FFFFFF; }
.ddh-footer__contact a { color: #FFFFFF; }
.ddh-footer__contact i { width: 18px; color: var(--ddh-yellow); }
.ddh-footer__col { flex: 1 1 160px; min-width: 0; }
.ddh-footer h3 { margin: 0 0 12px; color: var(--ddh-yellow); font-family: var(--ddh-head); font-size: 18px; font-weight: 600; }
.ddh-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ddh-footer__bottom { border-top: 1px solid #343840; }
.ddh-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 16px; padding-bottom: 16px; color: #A9ABB0; font-size: 13px; }
.ddh-footer__bottom a { color: #A9ABB0; }

/* ---------- bottom bar (phones) ---------- */
.ddh-bottombar { display: none; }

/* ---------- category / product pages (ddh_pages_v2) ---------- */
.ddh-btn--yellow { border-color: var(--ddh-dark); background: var(--ddh-yellow); color: var(--ddh-dark) !important; }
.ddh-btn--yellow:hover { filter: brightness(.95); }
.ddh-page { padding-bottom: 56px; background: #FFFFFF; color: var(--ddh-dark); font-size: 16px; line-height: 1.5; }
.ddh-breadcrumb { margin: 0; padding: 16px 0 4px; border-radius: 0; background: transparent; font-size: 14px; }
.ddh-breadcrumb .breadcrumb-item a { color: var(--ddh-muted); }
.ddh-breadcrumb .breadcrumb-item a:hover { color: var(--ddh-dark); }
.ddh-breadcrumb .breadcrumb-item.active, .ddh-breadcrumb .breadcrumb-item:last-child { color: var(--ddh-dark); }

/* listing (category) */
.ddh-listing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 0 20px; }
.ddh-listing-title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ddh-ink); font-family: var(--ddh-head); font-size: 30px; font-weight: 600; line-height: 1.25; }
.ddh-listing-title img { flex: 0 0 auto; width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: var(--ddh-yellow-soft); object-fit: contain; }
.ddh-listing-title small { color: var(--ddh-muted); font-family: 'Noto Sans Thai', sans-serif; font-size: 15px; font-weight: 500; white-space: nowrap; }
.ddh-listing-tools { display: flex; align-items: center; gap: 10px; }
.ddh-select { height: 44px; padding: 0 38px 0 14px; border: 2px solid var(--ddh-dark); border-radius: 10px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2228' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ddh-dark); font-size: 15px; font-weight: 600; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.ddh-filter-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 2px solid var(--ddh-dark); border-radius: 10px; background: var(--ddh-yellow); color: var(--ddh-dark); font-size: 15px; font-weight: 600; cursor: pointer; }
.ddh-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.ddh-subcats a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--ddh-line); border-radius: 999px; background: var(--ddh-soft); color: var(--ddh-dark) !important; font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none !important; }
.ddh-subcats a:hover { border-color: var(--ddh-dark); }
.ddh-listing { display: flex; align-items: flex-start; gap: 28px; }
.ddh-filters { flex: 0 0 240px; min-width: 0; }
.ddh-filters.collapse:not(.show) { display: block; }
.ddh-filter { margin-bottom: 16px; padding: 16px; border: 1px solid var(--ddh-line); border-radius: 14px; background: #FFFFFF; }
.ddh-filter h2 { margin: 0 0 10px; font-family: var(--ddh-head); font-size: 17px; font-weight: 600; }
.ddh-filter ul { display: grid; gap: 2px; max-height: 340px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.ddh-filter a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--ddh-dark) !important; font-size: 14px; text-decoration: none !important; }
.ddh-filter a:hover { background: var(--ddh-soft); }
.ddh-filter a.is-active { background: var(--ddh-yellow); font-weight: 600; }
.ddh-filter a span { color: var(--ddh-muted); font-size: 12px; }
.ddh-filter-clear { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: var(--ddh-dark); color: #FFFFFF !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.ddh-filter-clear i { color: var(--ddh-yellow); }
.ddh-listing__main { flex: 1 1 auto; min-width: 0; }
.ddh-cards--grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ddh-listing--full .ddh-cards--grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ddh-empty { padding: 56px 24px; border: 2px dashed var(--ddh-line); border-radius: 16px; color: var(--ddh-muted); text-align: center; }
.ddh-empty i { font-size: 40px; color: var(--ddh-yellow); }
.ddh-empty p { margin: 12px 0 20px; font-size: 18px; }
.ddh-pager .pagination { gap: 6px; margin-top: 32px; }
.ddh-pager .page-link { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; margin: 0 !important; padding: 0 10px; border: 1px solid var(--ddh-line); border-radius: 10px !important; color: var(--ddh-dark); font-weight: 600; }
.ddh-pager .page-link:hover { border-color: var(--ddh-dark); background: var(--ddh-soft); color: var(--ddh-dark); }
.ddh-pager .page-item.active .page-link { border-color: var(--ddh-dark); background: var(--ddh-dark); color: var(--ddh-yellow); }
.ddh-pager .page-item.disabled .page-link { color: #B0B2B6; }

/* product page */
.ddh-pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 44px; padding: 8px 0 32px; }
.ddh-pd__gallery { min-width: 0; }
.ddh-pd__main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--ddh-line); border-radius: 18px; background: #FFFFFF; }
.ddh-pd__main .zoom { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-in; }
.ddh-pd__main .zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ddh-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; }
.ddh-pd__thumbs .item-thumb { display: flex; flex: 0 0 76px; align-items: center; justify-content: center; height: 76px; overflow: hidden; border: 2px solid var(--ddh-line); border-radius: 12px; background: #FFFFFF; cursor: pointer; }
.ddh-pd__thumbs .item-thumb:hover, .ddh-pd__thumbs .item-thumb.is-current { border-color: var(--ddh-dark); }
.ddh-pd__thumbs .item-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lbt.red-border { border: 2px solid var(--ddh-dark); }
.ddh-pd__info { min-width: 0; }
.ddh-pd__brand { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ddh-pd__brand a { color: var(--ddh-muted) !important; }
.ddh-pd__title { margin: 0; color: var(--ddh-ink); font-family: var(--ddh-head); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.25; }
.ddh-pd__code { margin: 8px 0 0; color: var(--ddh-muted); font-size: 14px; }
.ddh-pd__pricebox { margin: 20px 0; padding: 18px 20px; border-radius: 16px; background: var(--ddh-soft); }
.ddh-pd__price { color: var(--ddh-red); font-family: var(--ddh-head); font-size: 40px; font-weight: 600; line-height: 1.1; }
.ddh-pd__was { margin-left: 10px; color: var(--ddh-muted); font-size: 18px; }
.ddh-pd__price-ask { color: var(--ddh-dark); font-family: var(--ddh-head); font-size: 28px; font-weight: 600; }
.ddh-pd__note { margin: 6px 0 0; color: var(--ddh-muted); font-size: 14px; }
.ddh-pd__option { margin: 0 0 16px; color: var(--ddh-text); }
.ddh-pd__order { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.ddh-qty { display: flex; align-items: center; height: 52px; overflow: hidden; border: 2px solid var(--ddh-dark); border-radius: 12px; background: #FFFFFF; }
.ddh-qty__btn { width: 46px; height: 100%; border: 0; background: #FFFFFF; color: var(--ddh-dark); font-size: 15px; cursor: pointer; }
.ddh-qty__btn:hover { background: var(--ddh-soft); }
.ddh-qty input { width: 56px; height: 100%; border: 0; outline: 0; color: var(--ddh-dark); font-size: 17px; font-weight: 600; text-align: center; }
.ddh-pd__cart { flex: 1 1 200px; }
.ddh-pd__wish { width: 52px; height: 52px; border: 2px solid var(--ddh-line); border-radius: 12px; background: #FFFFFF; color: var(--ddh-muted); font-size: 20px; cursor: pointer; }
.ddh-pd__wish:hover { border-color: var(--ddh-red); color: var(--ddh-red); }
.ddh-pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ddh-pd__asklink { display: inline-flex; align-items: center; gap: 8px; color: #058A3F !important; font-weight: 600; }
.ddh-pd__asklink .fa-line { font-size: 20px; }
.ddh-pd__facts { display: grid; gap: 10px; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--ddh-line); border-bottom: 1px solid var(--ddh-line); list-style: none; font-size: 15px; }
.ddh-pd__facts li { display: flex; align-items: center; gap: 10px; }
.ddh-pd__facts i { width: 22px; color: var(--ddh-dark); text-align: center; }
.ddh-pd__facts a { color: var(--ddh-dark) !important; font-weight: 600; text-decoration: underline; }
.ddh-pd__line { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--ddh-line); border-radius: 16px; }
.ddh-pd__qr { flex: 0 0 auto; width: 96px; height: 96px; }
.ddh-pd__line strong { display: block; font-size: 16px; }
.ddh-pd__lineid { display: block; margin: 2px 0 8px; color: #058A3F; font-weight: 700; }
.ddh-pd__banner { margin: 0 0 24px; padding: 14px 18px; border: 2px solid var(--ddh-dark); border-radius: 14px; background: var(--ddh-yellow); font-weight: 600; text-align: center; }
.ddh-pd__desc { margin: 8px 0 40px; padding: 28px; border: 1px solid var(--ddh-line); border-radius: 18px; }
.ddh-pd__desc .ddh-h2 { margin-bottom: 16px; font-size: 24px; }
.ddh-pd__desc .ddh-h2::before { height: 24px; }
.ddh-pd__desc .product-description { overflow: hidden; color: var(--ddh-text); line-height: 1.7; }
.ddh-pd__desc .product-description img { max-width: 100%; height: auto; }
.ddh-pd__desc .product-description table { max-width: 100%; }

/* old listing pages (search, brand, new products) while the new pages are on: same card look */
body.ddh-pages .card-product-grid { overflow: hidden; border: 1px solid var(--ddh-line); border-radius: 14px; background: #FFFFFF; transition: border-color .15s, box-shadow .15s; }
body.ddh-pages .card-product-grid:hover { border-color: var(--ddh-dark); box-shadow: 0 6px 18px rgba(20, 22, 26, .08); }
body.ddh-pages .card-product-grid .img-wrap { background: #FFFFFF; }
body.ddh-pages .card-product-grid .img-wrap img { object-fit: contain; }
body.ddh-pages .card-product-grid .info-wrap .title { display: -webkit-box; overflow: hidden; color: var(--ddh-dark); font-size: 15px; font-weight: 600; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
body.ddh-pages .card-product-grid .price-in-box, body.ddh-pages .card-product-grid .price { color: var(--ddh-red); font-family: var(--ddh-head); font-size: 20px; font-weight: 600; }
body.ddh-pages .section-content .breadcrumb, body.ddh-pages .py-2 .breadcrumb { background: transparent; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
	.ddh-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ddh-cards, .ddh-cards--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ddh-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ddh-trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.ddh-partner-cards, .ddh-services { grid-template-columns: minmax(0, 1fr); }
	.ddh-cards, .ddh-cards--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ddh-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	body.ddh-v2 { padding-bottom: 64px; }
	.ddh-desk-only { display: none !important; }
	.ddh-phone-only { display: inline; }
	.ddh-topbar, .ddh-nav { display: none; }
	.ddh-header__row { gap: 10px 8px; padding-top: 8px; padding-bottom: 10px; }
	.ddh-menu-btn { display: flex; order: 1; }
	.ddh-logo { order: 2; flex: 1 1 auto; justify-content: center; }
	.ddh-logo img { height: 40px; }
	.ddh-actions { order: 3; margin-left: 0; }
	.ddh-actions .ddh-btn-line, .ddh-actions .ddh-member { display: none; }
	.ddh-icon-link { min-width: 44px; height: 44px; border: 2px solid var(--ddh-dark); border-radius: 10px; }
	.ddh-icon-link small { display: none; }
	.ddh-cart-count { top: -7px; right: -7px; }
	.ddh-search { order: 4; flex: 1 1 100%; max-width: none; }
	.ddh-chips { display: flex; gap: 8px; margin: 0 -20px; padding: 0 20px 10px; overflow-x: auto; white-space: nowrap; background: #FFFFFF; }
	.ddh-chips a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--ddh-line); border-radius: 999px; background: var(--ddh-soft); color: var(--ddh-dark) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
	.ddh-chips a.is-all { border-color: var(--ddh-dark); background: var(--ddh-dark); color: var(--ddh-yellow) !important; font-weight: 600; }

	.ddh-section { padding-top: 28px; padding-bottom: 28px; }
	.ddh-h2 { gap: 10px; font-size: 22px; }
	.ddh-h2::before { width: 6px; height: 22px; }
	.ddh-sub { margin-left: 16px; font-size: 13px; }
	.ddh-section-head { margin-bottom: 14px; }
	.ddh-more { font-size: 14px; }

	.ddh-hero__row { gap: 24px; padding-top: 24px; padding-bottom: 28px; }
	.ddh-pill { margin-bottom: 14px; font-size: 13px; }
	.ddh-hero h1 { font-size: 32px; line-height: 1.15; }
	.ddh-hero__lead { margin-top: 12px; font-size: 15px; }
	.ddh-hero__ctas { display: grid; gap: 10px; margin-top: 20px; }
	.ddh-hero__ctas .ddh-btn { height: 50px; }
	.ddh-checks { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; }
	.ddh-hero__tiles { display: none; }

	.ddh-trust .container { gap: 10px; padding-top: 16px; padding-bottom: 16px; }
	.ddh-trust__item { gap: 10px; padding: 10px; border: 1px solid var(--ddh-line); border-radius: 12px; }
	.ddh-trust__icon { width: 40px; height: 40px; border-radius: 10px; font-size: 17px; }
	.ddh-trust strong { font-size: 14px; }
	.ddh-trust__desc { font-size: 12px; }

	.ddh-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; }
	.ddh-cat { flex-direction: column; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 12px; text-align: center; }
	.ddh-cat__icon { width: 54px; height: 54px; border: 1px solid var(--ddh-line); border-radius: 16px; background: #FFFFFF; }
	.ddh-cat__icon img { width: 30px; height: 30px; }
	.ddh-cat__long { display: none; }
	.ddh-cat__short { display: inline; }
	.ddh-cat--all { color: var(--ddh-dark) !important; }
	.ddh-cat--all .ddh-cat__icon { border-color: var(--ddh-dark); background: var(--ddh-dark); color: var(--ddh-yellow); }

	.ddh-cards, .ddh-cards--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ddh-cards--scroll { display: flex; gap: 10px; margin: 0 -20px; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
	.ddh-cards--scroll .ddh-card { flex: 0 0 156px; scroll-snap-align: start; }
	.ddh-card { padding: 10px; }
	.ddh-card__badge { top: 8px; left: 8px; font-size: 11px; }
	.ddh-card__brand { margin-top: 8px; font-size: 12px; }
	.ddh-card__title { min-height: 40px; font-size: 14px; line-height: 1.42; }
	.ddh-card__price { margin: 6px 0 8px; font-size: 20px; }
	.ddh-card__ask { margin: 6px 0 8px; font-size: 13px; }
	.ddh-card__btn { font-size: 14px; }

	.ddh-partners h2 { font-size: 24px; line-height: 1.3; }
	.ddh-partners__lead { margin-bottom: 14px; font-size: 14px; }
	.ddh-partner-cards { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
	.ddh-partner { flex: 0 0 290px; scroll-snap-align: start; }
	.ddh-partner img { width: 72px; height: 72px; }
	.ddh-partner__name { font-size: 21px; }
	.ddh-partners__new { margin: 22px 0 12px; }
	.ddh-partners__new h3 { font-size: 19px; }

	.ddh-brands { gap: 8px; }
	.ddh-brand { height: 60px; padding: 8px; border-radius: 10px; }
	.ddh-brand img { max-height: 40px; }
	.ddh-brand--all { font-size: 13px; }

	.ddh-cta { gap: 16px; padding: 20px; border-radius: 18px; box-shadow: 6px 6px 0 var(--ddh-dark); }
	.ddh-cta h2 { font-size: 26px; }
	.ddh-cta__lead { margin-top: 8px; font-size: 15px; }
	.ddh-cta__btns { display: grid; gap: 10px; margin-top: 16px; }
	.ddh-cta__btns .ddh-btn { height: 50px; }
	.ddh-steps { gap: 8px; }
	.ddh-steps li { gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }
	.ddh-steps__n { width: 32px; height: 32px; font-size: 16px; }

	.ddh-service { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px; border-radius: 14px; }
	.ddh-service__icon { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
	.ddh-service h3 { flex: 1 1 60%; margin: 0; font-size: 17px; }
	.ddh-service p { flex: 1 1 100%; font-size: 13px; }

	.ddh-footer { font-size: 14px; }
	.ddh-footer__cols { gap: 20px 16px; padding-top: 24px; padding-bottom: 20px; }
	.ddh-footer__about { flex: 1 1 100%; }
	.ddh-footer__about img { height: 44px; }
	.ddh-footer__col { flex: 1 1 40%; }
	.ddh-footer h3 { margin-bottom: 8px; font-size: 16px; }
	.ddh-footer ul { gap: 6px; }

	.ddh-bottombar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1040; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 64px; border-top: 3px solid var(--ddh-yellow); background: var(--ddh-dark); }
	.ddh-bottombar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #FFFFFF !important; font-size: 12px; text-decoration: none !important; }
	.ddh-bottombar a i { color: var(--ddh-yellow); font-size: 19px; }
	.ddh-bottombar a.is-line { background: var(--ddh-green); color: var(--ddh-green-ink) !important; font-weight: 700; }
	.ddh-bottombar a.is-line i { color: var(--ddh-green-ink); font-size: 21px; }
	.ddh-bottombar .ddh-cart-count { top: 6px; right: calc(50% - 22px); }
}

/* ---------- category / product pages: responsive ---------- */
@media (max-width: 1199.98px) {
	.ddh-cards--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ddh-listing--full .ddh-cards--grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.ddh-filters { flex-basis: 200px; }
	.ddh-cards--grid, .ddh-listing--full .ddh-cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ddh-pd { gap: 28px; }
}
@media (max-width: 767.98px) {
	.ddh-page { padding-bottom: 32px; }
	.ddh-breadcrumb { padding-top: 10px; font-size: 13px; }
	.ddh-listing-head { padding: 6px 0 14px; }
	.ddh-listing-title { gap: 10px; font-size: 22px; }
	.ddh-listing-title img { width: 36px; height: 36px; }
	.ddh-listing-title small { font-size: 13px; }
	.ddh-listing-tools { width: 100%; }
	.ddh-filter-btn { display: inline-flex; }
	.ddh-select { flex: 1 1 auto; min-width: 0; }
	.ddh-subcats { flex-wrap: nowrap; margin: 0 -20px 16px; padding: 0 20px 4px; overflow-x: auto; }
	.ddh-listing { display: block; }
	.ddh-filters.collapse:not(.show) { display: none; }
	.ddh-filters { margin-bottom: 16px; }
	.ddh-cards--grid, .ddh-listing--full .ddh-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ddh-pager .pagination { margin-top: 20px; }
	.ddh-pd { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 0; }
	.ddh-pd__title { font-size: 22px; }
	.ddh-pd__pricebox { margin: 14px 0; padding: 14px 16px; }
	.ddh-pd__price { font-size: 32px; }
	.ddh-pd__price-ask { font-size: 22px; }
	.ddh-pd__order { gap: 10px; }
	.ddh-pd__cart { flex: 1 1 140px; }
	.ddh-pd__actions { display: grid; }
	.ddh-pd__desc { padding: 18px; border-radius: 14px; }
	.ddh-pd__desc .ddh-h2 { font-size: 20px; }
	.ddh-pd__qr { width: 72px; height: 72px; }
	.ddh-pd__thumbs .item-thumb { flex-basis: 64px; height: 64px; }
}
