/* Internal pages — extends the approved Didipart home theme */
.internal-page { background: var(--sf-color-bg, #fff); }
.internal-page main { min-height: 52vh; }
.internal-page .site-footer { margin-top: 54px; }
.internal-page .header-quick-nav a.active { color: var(--primary-700); }
.internal-page .page-shell { padding-top: 24px; }
.internal-page .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 18px; color: #788395; font-size: 11.5px; }
.internal-page .breadcrumb a:hover { color: var(--primary-700); }
.internal-page .breadcrumb .icon { width: 13px; height: 13px; transform: rotate(180deg); }
.page-hero { position: relative; overflow: hidden; padding: 25px 28px; background: linear-gradient(120deg, #eef4ff 0%, #fff 62%, #fff4ec 100%); border: 1px solid #dce7f5; border-radius: 15px; }
.page-hero::after { content:""; position:absolute; left:-70px; bottom:-100px; width:240px; height:240px; border:28px solid rgba(8,75,189,.045); border-radius:50%; }
.page-hero__inner { position: relative; z-index: 1; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.page-hero h1 { margin:0 0 6px; color:var(--primary-900); font-size:26px; line-height:1.55; }
.page-hero p { max-width:760px; margin:0; color:#687487; font-size:12.5px; line-height:2; }
.page-hero__badge { display:inline-flex; align-items:center; gap:7px; min-height:32px; margin-bottom:7px; padding-inline:12px; color:var(--primary-800); background:#fff; border:1px solid #dce6f3; border-radius:17px; font-size:10.5px; font-weight:700; }
.page-hero__badge .icon { width:16px; height:16px; }
.page-hero__art { width:145px; min-width:145px; height:100px; object-fit:contain; filter:drop-shadow(0 9px 10px rgba(15,49,99,.1)); }
.section-block { margin-top:28px; }
.section-title-row { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:16px; }
.section-title-row h2 { position:relative; margin:0; padding-right:16px; color:var(--primary-900); font-size:20px; }
.section-title-row h2::before { content:""; position:absolute; top:50%; right:0; width:5px; height:5px; transform:translateY(-50%); background:var(--primary-700); border-radius:50%; }
.section-title-row p { margin:2px 0 0; color:var(--text-muted); font-size:11.5px; }
.card-surface { background:#fff; border:1px solid var(--border); border-radius:13px; box-shadow:0 5px 18px rgba(17,42,84,.035); }
.soft-button, .outline-button, .primary-button, .accent-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 18px; border-radius:9px; font-size:12px; font-weight:700; transition:.2s ease; }
.soft-button { color:var(--primary-800); background:#f2f6fc; border:1px solid #dae5f3; }
.outline-button { color:var(--primary-800); background:#fff; border:1px solid #cfdced; }
.primary-button { color:#fff; background:var(--primary-700); border:1px solid var(--primary-700); box-shadow:0 8px 18px rgba(8,75,189,.16); }
.accent-button { color:#fff; background:var(--accent); border:1px solid var(--accent); box-shadow:0 8px 18px rgba(255,105,0,.18); }
.soft-button:hover, .outline-button:hover { color:var(--primary-700); background:#edf4ff; border-color:#b9cdeb; }
.primary-button:hover { background:var(--primary-800); transform:translateY(-1px); }
.accent-button:hover { background:var(--accent-hover); transform:translateY(-1px); }
.button-icon-only { width:42px; padding:0; }
.status-pill { display:inline-flex; align-items:center; gap:6px; min-height:27px; padding:0 10px; border-radius:14px; font-size:10.5px; font-weight:700; }
.status-pill--success { color:#0a7d58; background:#eaf9f3; border:1px solid #c8eedf; }
.status-pill--warning { color:#bd5100; background:#fff4eb; border:1px solid #ffd7bb; }
.status-pill--blue { color:var(--primary-800); background:#edf4ff; border:1px solid #d2e1f6; }
.rating-stars { display:inline-flex; align-items:center; gap:2px; color:#f5a623; }
.rating-stars svg { width:15px; height:15px; fill:currentColor; stroke:currentColor; }
.form-field { display:grid; gap:7px; }
.form-field label, .field-label { color:#39475c; font-size:11.5px; font-weight:700; }
.form-field input, .form-field select, .form-field textarea, .select-control, .input-control { width:100%; min-height:46px; padding:0 14px; color:#293448; background:#fff; border:1px solid #dbe4ef; border-radius:10px; outline:0; transition:.18s; }
.form-field textarea { min-height:130px; padding-top:12px; resize:vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .select-control:focus, .input-control:focus { border-color:#9ebce8; box-shadow:0 0 0 4px rgba(18,96,211,.07); }
.checkbox-row { display:flex; align-items:center; gap:9px; color:#4f5d71; font-size:11.5px; cursor:pointer; }
.checkbox-row input { accent-color:var(--primary-700); }
.notice { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; color:#46536a; background:#f5f8fd; border:1px solid #dce6f3; border-radius:10px; font-size:11.5px; line-height:1.9; }
.notice .icon { flex:0 0 auto; width:18px; height:18px; margin-top:2px; color:var(--primary-700); }

/* Reusable product listing */
.catalog-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:20px; align-items:start; }
.catalog-sidebar { position:sticky; top:138px; overflow:hidden; }
.catalog-sidebar__head { display:flex; align-items:center; justify-content:space-between; min-height:58px; padding:0 17px; border-bottom:1px solid var(--border); }
.catalog-sidebar__head h2 { margin:0; color:var(--primary-900); font-size:15px; }
.catalog-sidebar__reset { color:var(--accent); background:transparent; border:0; font-size:10.5px; }
.filter-group { padding:15px 17px; border-bottom:1px solid #edf1f6; }
.filter-group:last-child { border-bottom:0; }
.filter-group__toggle { display:flex; align-items:center; justify-content:space-between; width:100%; padding:0; color:#26344a; background:transparent; border:0; font-size:12.5px; font-weight:700; }
.filter-group__toggle .icon { width:15px; height:15px; transform:rotate(90deg); transition:.2s; }
.filter-group.is-collapsed .filter-group__toggle .icon { transform:rotate(-90deg); }
.filter-group__body { display:grid; gap:10px; margin-top:12px; }
.filter-group.is-collapsed .filter-group__body { display:none; }
.filter-search { position:relative; }
.filter-search input { width:100%; height:38px; padding:0 34px 0 10px; background:#f8fafc; border:1px solid #e1e8f1; border-radius:8px; font-size:11px; }
.filter-search .icon { position:absolute; top:10px; right:10px; width:16px; height:16px; color:#8290a3; }
.filter-count { margin-right:auto; color:#9aa5b4; font-size:10px; }
.price-range { display:grid; gap:10px; }
.price-range input[type="range"] { width:100%; accent-color:var(--primary-700); }
.price-values { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.price-value { padding:8px 9px; color:#59677a; background:#f7f9fc; border:1px solid #e2e8f0; border-radius:8px; font-size:10.5px; }
.price-value b { display:block; color:#253249; font-size:11.5px; }
.catalog-main { min-width:0; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:62px; margin-bottom:14px; padding:10px 14px; background:#fff; border:1px solid var(--border); border-radius:12px; }
.catalog-toolbar__right, .catalog-toolbar__left { display:flex; align-items:center; gap:10px; }
.catalog-toolbar__count { color:#667386; font-size:11.5px; }
.catalog-toolbar select { height:40px; padding:0 12px; color:#354259; background:#f8fafc; border:1px solid #dfe7f1; border-radius:8px; font-size:11.5px; }
.view-toggle { display:flex; gap:5px; }
.view-toggle button { display:grid; place-items:center; width:39px; height:39px; color:#758196; background:#fff; border:1px solid #dfe6ef; border-radius:8px; }
.view-toggle button.is-active { color:#fff; background:var(--primary-700); border-color:var(--primary-700); }
.view-toggle .icon { width:18px; height:18px; }
.mobile-filter-open { display:none; }
.active-filters { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:13px; }
.filter-chip { display:inline-flex; align-items:center; gap:6px; min-height:31px; padding:0 10px; color:#4e5c70; background:#fff; border:1px solid #dce5ef; border-radius:16px; font-size:10.5px; }
.filter-chip button { display:grid; place-items:center; width:17px; height:17px; padding:0; color:#8a96a8; background:#edf1f5; border:0; border-radius:50%; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.catalog-grid .product-card { height:342px; }
.catalog-grid .product-card__image { height:147px; }
.catalog-grid.is-list { grid-template-columns:1fr; }
.catalog-grid.is-list .product-card { display:grid; grid-template-columns:190px minmax(0,1fr) 170px; grid-template-rows:auto 1fr; gap:0 18px; height:auto; min-height:210px; padding:18px; }
.catalog-grid.is-list .product-card__top { grid-column:2 / 4; }
.catalog-grid.is-list .product-card__image { grid-column:1; grid-row:1 / 3; height:175px; margin:0; }
.catalog-grid.is-list .product-card h3 { grid-column:2; grid-row:2; min-height:0; margin:10px 0; font-size:15px; }
.catalog-grid.is-list .product-card__prices { grid-column:3; grid-row:2; align-items:flex-start; justify-content:center; }
.catalog-grid.is-list .product-card__actions { grid-column:3; grid-row:2; align-self:end; }
.product-meta-line { display:flex; align-items:center; gap:8px; margin-top:4px; color:#7b8799; font-size:10px; }
.product-meta-line .dot { width:4px; height:4px; background:#c6cfda; border-radius:50%; }
.product-stock-label { position:absolute; top:13px; left:13px; z-index:2; }
.product-card__brand { position:absolute; top:16px; right:15px; z-index:2; color:#8994a5; font-size:9.5px; font-weight:700; }
body[data-sf-theme="didipart"]:not(.panel-page) .pagination { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:24px; }
body[data-sf-theme="didipart"]:not(.panel-page) .pagination a,
body[data-sf-theme="didipart"]:not(.panel-page) .pagination button { display:grid; place-items:center; min-width:38px; height:38px; padding:0 10px; color:#506078; background:#fff; border:1px solid #dce5ef; border-radius:9px; }
body[data-sf-theme="didipart"]:not(.panel-page) .pagination .is-current { color:#fff; background:var(--primary-700); border-color:var(--primary-700); }
.catalog-mobile-overlay { display:none; }
.category-strip { display:block; min-width:0; margin-top:20px; }
.category-mini-card { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:112px; padding:10px; background:#fff; border:1px solid var(--border); border-radius:11px; transition:.2s; }
.category-mini-card img { width:68px; height:58px; object-fit:contain; }
.category-mini-card strong { margin-top:6px; color:var(--primary-900); font-size:11.5px; }
.category-mini-card:hover { transform:translateY(-2px); border-color:#afc6e5; box-shadow:var(--shadow-soft); }

/* Product detail */
.product-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.03fr); gap:22px; align-items:start; }
.product-gallery { padding:18px; }
.product-gallery__main { position:relative; display:grid; place-items:center; height:430px; overflow:hidden; background:linear-gradient(#fff,#fbfcfe); border:1px solid #edf1f5; border-radius:12px; }
.product-gallery__main img { width:88%; height:88%; object-fit:contain; transition:.25s; }
.product-gallery__main:hover img { transform:scale(1.025); }
.product-gallery__badges { position:absolute; top:13px; right:13px; display:grid; gap:7px; }
.product-gallery__badge { display:inline-flex; align-items:center; justify-content:center; min-height:28px; padding:0 10px; color:#fff; background:var(--accent); border-radius:7px; font-size:10px; font-weight:700; }
.product-gallery__tools { position:absolute; top:13px; left:13px; display:grid; gap:7px; }
.product-gallery__tools button { display:grid; place-items:center; width:38px; height:38px; color:#536176; background:rgba(255,255,255,.94); border:1px solid #dae3ee; border-radius:9px; box-shadow:0 4px 12px rgba(28,52,89,.06); }
.product-gallery__thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-top:11px; }
.product-thumb { display:grid; place-items:center; height:82px; padding:7px; background:#fff; border:1px solid #dfe7f1; border-radius:9px; }
.product-thumb img { width:100%; height:100%; object-fit:contain; }
.product-thumb.is-active { border-color:var(--primary-600); box-shadow:0 0 0 2px rgba(18,96,211,.08); }
.product-summary { padding:22px 24px; }
.product-summary__topline { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
.product-summary__brand { color:var(--primary-700); font-size:11px; font-weight:700; }
.product-summary__sku { color:#8994a5; font-size:10.5px; }
.product-summary h1 { margin:0 0 10px; color:#182337; font-size:23px; line-height:1.65; }
.product-rating-row { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding-bottom:14px; border-bottom:1px solid #edf1f5; color:#748094; font-size:10.5px; }
.product-rating-row a { color:var(--primary-700); }
.product-short-description { margin:14px 0; color:#657185; font-size:11.5px; line-height:2; }
.product-bullets { display:grid; grid-template-columns:1fr 1fr; gap:8px 12px; margin:0 0 15px; }
.product-bullets li { position:relative; padding-right:15px; color:#4e5a6d; font-size:10.8px; }
.product-bullets li::before { content:""; position:absolute; top:10px; right:0; width:5px; height:5px; background:var(--success); border-radius:50%; }
.variant-panel { padding:15px; background:#f8fafc; border:1px solid #e2e9f2; border-radius:11px; }
.variant-group + .variant-group { margin-top:13px; }
.variant-group__head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.variant-group__head strong { color:#2b384e; font-size:11.5px; }
.variant-group__head span { color:#8995a6; font-size:10px; }
.variant-options { display:flex; flex-wrap:wrap; gap:7px; }
.variant-option { min-height:37px; padding:0 13px; color:#526075; background:#fff; border:1px solid #d9e2ed; border-radius:8px; font-size:10.5px; }
.variant-option:hover { border-color:#9db9df; }
.variant-option.is-selected { color:#fff; background:var(--primary-700); border-color:var(--primary-700); box-shadow:0 5px 12px rgba(8,75,189,.14); }
.variant-option[disabled] { opacity:.45; text-decoration:line-through; cursor:not-allowed; }
.selected-variation { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding-top:12px; border-top:1px dashed #d8e1ec; color:#667387; font-size:10.5px; }
.selected-variation b { color:#26334a; }
.product-price-area { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-top:16px; }
.product-price-area del { display:block; color:#9ca5b2; font-size:11px; }
.product-price-area strong { display:block; color:var(--accent); font-size:25px; line-height:1.3; }
.product-price-area strong small { font-size:10px; font-weight:600; }
.discount-label { display:inline-flex; align-items:center; min-height:28px; padding:0 9px; color:#fff; background:var(--accent); border-radius:7px; font-size:10px; font-weight:700; }
.purchase-row { display:grid; grid-template-columns:108px minmax(0,1fr) 46px 46px; gap:8px; margin-top:14px; }
.quantity-control { display:grid; grid-template-columns:34px 1fr 34px; height:46px; border:1px solid #d9e2ed; border-radius:9px; overflow:hidden; }
.quantity-control button { color:var(--primary-800); background:#f4f7fb; border:0; }
.quantity-control input { width:100%; text-align:center; border:0; outline:0; }
.product-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:15px; }
.product-benefit { display:flex; align-items:center; gap:8px; min-height:57px; padding:8px 9px; background:#fff; border:1px solid #e0e7f0; border-radius:9px; }
.product-benefit .icon { width:21px; height:21px; color:var(--primary-700); }
.product-benefit b { display:block; color:#334056; font-size:10.5px; }
.product-benefit small { display:block; color:#8994a3; font-size:8.8px; }
.product-tabs-card { overflow:hidden; }
.tabs-nav { display:flex; align-items:center; gap:4px; padding:0 18px; border-bottom:1px solid var(--border); overflow:auto; }
.tabs-nav button { position:relative; min-width:max-content; min-height:58px; padding:0 17px; color:#6c788b; background:transparent; border:0; font-size:12px; font-weight:700; }
.tabs-nav button[aria-selected="true"] { color:var(--primary-800); }
.tabs-nav button[aria-selected="true"]::after { content:""; position:absolute; right:12px; bottom:-1px; left:12px; height:3px; background:var(--primary-700); border-radius:3px 3px 0 0; }
.tab-panel { display:none; padding:24px 26px; }
.tab-panel.is-active { display:block; }
.rich-content { color:#536074; font-size:12px; line-height:2.15; }
.rich-content h2, .rich-content h3 { color:#1f2d44; line-height:1.75; }
.rich-content h2 { margin:24px 0 8px; font-size:18px; }
.rich-content h3 { margin:18px 0 7px; font-size:15px; }
.rich-content ul { display:grid; gap:6px; margin:10px 0; }
.rich-content li { position:relative; padding-right:17px; }
.rich-content li::before { content:""; position:absolute; top:12px; right:2px; width:5px; height:5px; background:var(--primary-600); border-radius:50%; }
.spec-table { width:100%; border-collapse:collapse; }
.spec-table tr:nth-child(odd) { background:#f8fafc; }
.spec-table th, .spec-table td { padding:12px 15px; border:1px solid #e3e9f1; text-align:right; font-size:11.5px; }
.spec-table th { width:30%; color:#354259; font-weight:700; }
.spec-table td { color:#657185; }
.review-summary { display:grid; grid-template-columns:180px 1fr; gap:24px; align-items:center; }
.review-score { text-align:center; padding:18px; background:#f7f9fc; border:1px solid #e1e8f1; border-radius:11px; }
.review-score strong { display:block; color:var(--primary-900); font-size:34px; }
.review-bars { display:grid; gap:8px; }
.review-bar { display:grid; grid-template-columns:50px 1fr 25px; align-items:center; gap:8px; color:#6d798c; font-size:10.5px; }
.review-bar i { display:block; height:7px; overflow:hidden; background:#edf1f5; border-radius:4px; }
.review-bar i span { display:block; height:100%; background:#f5a623; border-radius:4px; }
.question-list, .faq-list { display:grid; gap:9px; }
.accordion-item { overflow:hidden; border:1px solid #e0e7f0; border-radius:10px; }
.accordion-trigger { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:52px; padding:0 15px; color:#344158; background:#fff; border:0; text-align:right; font-size:11.5px; font-weight:700; }
.accordion-trigger .icon { width:16px; height:16px; transform:rotate(90deg); transition:.2s; }
.accordion-item.is-open .accordion-trigger .icon { transform:rotate(-90deg); }
.accordion-content { display:none; padding:0 15px 14px; color:#687588; font-size:11px; line-height:2; }
.accordion-item.is-open .accordion-content { display:block; }
.related-products-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; }
.related-products-grid .product-card { height:320px; }
.related-products-grid .product-card__image { height:135px; }

/* Blog archive */
.blog-feature-grid { display:grid; grid-template-columns:1.35fr .85fr; gap:15px; }
.blog-feature-main { position:relative; min-height:380px; overflow:hidden; border-radius:14px; }
.blog-feature-main img { width:100%; height:100%; object-fit:cover; }
.blog-feature-main::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(4,15,33,.06),rgba(4,15,33,.88)); }
.blog-feature-main__content { position:absolute; z-index:2; right:0; bottom:0; left:0; padding:24px; color:#fff; }
.blog-feature-main__content h2 { max-width:630px; margin:8px 0 7px; font-size:23px; line-height:1.65; }
.blog-feature-main__content p { max-width:650px; margin:0 0 10px; color:rgba(255,255,255,.78); font-size:11.5px; line-height:2; }
.blog-feature-side { display:grid; grid-template-rows:1fr 1fr; gap:15px; }
.blog-feature-mini { position:relative; min-height:180px; overflow:hidden; border-radius:12px; }
.blog-feature-mini img { width:100%; height:100%; object-fit:cover; }
.blog-feature-mini::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(4,15,33,.05),rgba(4,15,33,.82)); }
.blog-feature-mini__content { position:absolute; z-index:2; right:0; bottom:0; left:0; padding:15px; color:#fff; }
.blog-feature-mini h3 { margin:5px 0 0; font-size:14px; line-height:1.8; }
.article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:#8994a5; font-size:9.8px; }
.article-meta--light { color:rgba(255,255,255,.72); }
.blog-categories { display:flex; flex-wrap:wrap; gap:7px; }
.blog-categories a { min-height:36px; padding:0 14px; display:inline-flex; align-items:center; color:#556276; background:#fff; border:1px solid #dce5ef; border-radius:19px; font-size:10.5px; }
.blog-categories a.is-active, .blog-categories a:hover { color:#fff; background:var(--primary-700); border-color:var(--primary-700); }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.blog-card { overflow:hidden; background:#fff; border:1px solid var(--border); border-radius:12px; transition:.2s; }
.blog-card:hover { transform:translateY(-3px); border-color:#b9cae0; box-shadow:var(--shadow-card); }
.blog-card__image { display:block; height:190px; overflow:hidden; }
.blog-card__image img { width:100%; height:100%; object-fit:cover; transition:.35s; }
.blog-card:hover .blog-card__image img { transform:scale(1.035); }
.blog-card__body { padding:14px 15px 16px; }
.blog-card__category { color:var(--accent); font-size:9.8px; font-weight:700; }
.blog-card h2, .blog-card h3 { min-height:50px; margin:5px 0 8px; color:#243147; font-size:14px; line-height:1.85; }
.blog-card p { min-height:62px; margin:0 0 10px; color:#718095; font-size:10.8px; line-height:1.95; }
.newsletter-box { display:grid; grid-template-columns:1fr auto; align-items:center; gap:20px; padding:22px 25px; color:#fff; background:linear-gradient(120deg,color-mix(in srgb,var(--primary-800) 78%,#000),var(--primary-800)); border-radius:13px; }
.newsletter-box h2 { margin:0 0 5px; font-size:19px; }
.newsletter-box p { margin:0; color:rgba(255,255,255,.75); font-size:11px; }
.newsletter-form { display:grid; grid-template-columns:260px 110px; gap:8px; }
.newsletter-form input { height:43px; padding:0 13px; color:#243147; background:#fff; border:0; border-radius:8px; }
.newsletter-form button { color:#fff; background:var(--accent); border:0; border-radius:8px; font-weight:700; }

/* Article */
.article-page-grid { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:20px; align-items:start; }
.article-main { overflow:hidden; }
.article-header { padding:25px 28px 18px; }
.article-header h1 { margin:8px 0 10px; color:#17243a; font-size:27px; line-height:1.75; }
.article-header__lead { margin:0; color:#6d798c; font-size:12px; line-height:2; }
.article-cover { height:440px; }
.article-cover img { width:100%; height:100%; object-fit:cover; }
.article-body { padding:24px 28px 30px; }
.article-body .rich-content > p:first-child { font-size:13px; color:#48566c; }
.article-quote { position:relative; margin:22px 0; padding:18px 20px 18px 50px; color:#2e3c53; background:#f1f6fd; border-right:4px solid var(--primary-600); border-radius:9px; font-size:12.5px; line-height:2; }
.article-inline-image { margin:20px 0; overflow:hidden; border-radius:11px; }
.article-inline-image img { width:100%; max-height:390px; object-fit:cover; }
.article-share { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:24px; padding-top:17px; border-top:1px solid #e4eaf2; }
.share-buttons { display:flex; gap:7px; }
.share-buttons button { display:grid; place-items:center; width:38px; height:38px; color:#637085; background:#fff; border:1px solid #dce4ee; border-radius:9px; }
.article-sidebar { position:sticky; top:138px; display:grid; gap:13px; }
.toc-card, .author-card, .side-articles { padding:17px; }
.toc-card h2, .author-card h2, .side-articles h2 { margin:0 0 12px; color:var(--primary-900); font-size:14px; }
.toc-card nav { display:grid; gap:9px; }
.toc-card a { color:#627087; font-size:10.8px; line-height:1.7; }
.toc-card a:hover, .toc-card a.is-active { color:var(--primary-700); }
.author-card__head { display:flex; align-items:center; gap:10px; }
.author-avatar { display:grid; place-items:center; width:48px; height:48px; color:#fff; background:linear-gradient(145deg,#0a54b9,#07327f); border-radius:50%; font-size:16px; font-weight:700; }
.author-card p { margin:10px 0 0; color:#718095; font-size:10.5px; line-height:1.9; }
.side-article { display:grid; grid-template-columns:70px 1fr; gap:9px; align-items:center; padding:9px 0; border-bottom:1px solid #edf1f5; }
.side-article:last-child { border-bottom:0; }
.side-article img { width:70px; height:54px; object-fit:cover; border-radius:7px; }
.side-article h3 { margin:0; color:#39465a; font-size:10.5px; line-height:1.8; }

/* Contact & about */
.contact-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.contact-card { padding:18px 16px; text-align:center; }
.contact-card__icon { display:grid; place-items:center; width:52px; height:52px; margin:0 auto 10px; color:#fff; background:linear-gradient(145deg,var(--primary-800),color-mix(in srgb,var(--primary-800) 72%,#000)); border-radius:14px; box-shadow:0 9px 18px rgba(7,62,159,.14); }
.contact-card__icon .icon { width:24px; height:24px; }
.contact-card h2 { margin:0 0 4px; color:#26344a; font-size:13px; }
.contact-card p, .contact-card a { margin:0; color:#718095; font-size:10.8px; line-height:1.9; }
.contact-main-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:18px; }
.contact-form-card { padding:22px; }
.contact-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.contact-form-grid .form-field--full { grid-column:1 / -1; }
.contact-info-panel { overflow:hidden; }
.map-placeholder { position:relative; height:285px; overflow:hidden; background:
  linear-gradient(90deg,rgba(255,255,255,.8) 1px,transparent 1px) 0 0/34px 34px,
  linear-gradient(rgba(255,255,255,.8) 1px,transparent 1px) 0 0/34px 34px,
  linear-gradient(135deg,#dfeaf7,#eef4fb); }
.map-placeholder::before, .map-placeholder::after { content:""; position:absolute; height:8px; background:#b6cce4; border-radius:8px; transform:rotate(-8deg); }
.map-placeholder::before { width:140%; top:43%; right:-20%; }
.map-placeholder::after { width:110%; top:68%; right:-6%; transform:rotate(14deg); }
.map-pin { position:absolute; z-index:3; top:48%; right:52%; display:grid; place-items:center; width:48px; height:48px; color:#fff; background:var(--accent); border:5px solid rgba(255,255,255,.88); border-radius:50% 50% 50% 12px; transform:translate(50%,-50%) rotate(45deg); box-shadow:0 9px 20px rgba(255,105,0,.24); }
.map-pin .icon { width:20px; height:20px; transform:rotate(-45deg); }
.contact-info-panel__body { padding:17px 18px; }
.contact-info-panel__body h2 { margin:0 0 7px; color:var(--primary-900); font-size:16px; }
.contact-info-panel__body p { margin:0; color:#6e7a8d; font-size:11px; line-height:2; }
.about-story { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; }
.about-story__image { height:380px; overflow:hidden; border-radius:14px; }
.about-story__image img { width:100%; height:100%; object-fit:cover; }
.about-story__content h2 { margin:0 0 10px; color:var(--primary-900); font-size:23px; }
.about-story__content p { color:#677487; font-size:12px; line-height:2.15; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:11px; margin-top:17px; }
.stat-card { padding:17px; text-align:center; background:#fff; border:1px solid var(--border); border-radius:11px; }
.stat-card strong { display:block; color:var(--primary-800); font-size:22px; }
.stat-card span { color:#758196; font-size:10px; }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }
.value-card { padding:20px; }
.value-card .icon { width:28px; height:28px; margin-bottom:9px; color:var(--primary-700); }
.value-card h3 { margin:0 0 6px; color:#27354b; font-size:14px; }
.value-card p { margin:0; color:#718095; font-size:10.8px; line-height:2; }
.brand-wall { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.brand-tile { display:grid; place-items:center; min-height:76px; padding:10px; color:#687588; background:#fff; border:1px solid var(--border); border-radius:10px; font:700 12px Arial,sans-serif; }

/* Search */
.search-page-box { padding:22px; }
.search-page-form { display:grid; grid-template-columns:190px 1fr 110px; gap:9px; }
.search-page-form select, .search-page-form input { height:50px; padding:0 14px; background:#f8fafc; border:1px solid #dce5ef; border-radius:10px; }
.search-page-form button { color:#fff; background:var(--primary-700); border:0; border-radius:10px; font-weight:700; }
.search-page-suggestions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:13px; color:#728094; font-size:10.5px; }
.search-page-suggestions a { padding:5px 10px; color:#516077; background:#f4f7fb; border:1px solid #e0e7f0; border-radius:15px; }
.search-result-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:18px 0 13px; }
.search-result-summary h2 { margin:0; color:var(--primary-900); font-size:18px; }
.search-result-summary span { color:#7b8799; font-size:11px; }
.no-results { display:none; padding:50px 24px; text-align:center; }
.no-results.is-visible { display:block; }
.no-results .icon { width:52px; height:52px; color:#9aabc0; }
.no-results h2 { margin:10px 0 5px; color:#2d3a50; font-size:18px; }
.no-results p { margin:0; color:#7a8799; font-size:11.5px; }

/* Cart, checkout, wishlist, compare, account */
.cart-layout, .checkout-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:18px; align-items:start; }
.cart-table-card { overflow:hidden; }
.cart-table-head { display:grid; grid-template-columns:minmax(280px,1fr) 130px 130px 42px; gap:12px; padding:13px 17px; color:#748094; background:#f7f9fc; border-bottom:1px solid var(--border); font-size:10.5px; }
.cart-item { display:grid; grid-template-columns:minmax(280px,1fr) 130px 130px 42px; gap:12px; align-items:center; padding:15px 17px; border-bottom:1px solid #edf1f5; }
.cart-item:last-child { border-bottom:0; }
.cart-product { display:grid; grid-template-columns:82px 1fr; gap:12px; align-items:center; }
.cart-product img { width:82px; height:72px; object-fit:contain; background:#fff; border:1px solid #e3e9f1; border-radius:9px; }
.cart-product h2 { margin:0 0 4px; color:#29374d; font-size:12.5px; line-height:1.8; }
.cart-product small { color:#8995a6; font-size:9.8px; }
.cart-price { color:var(--accent); font-size:13px; font-weight:700; }
.cart-remove { display:grid; place-items:center; width:36px; height:36px; color:#9b5661; background:#fff4f5; border:1px solid #f2d6da; border-radius:8px; }
.cart-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 17px; background:#fbfcfe; border-top:1px solid #edf1f5; }
.coupon-form { display:grid; grid-template-columns:200px 92px; gap:7px; }
.coupon-form input { height:41px; padding:0 11px; border:1px solid #dce4ee; border-radius:8px; }
.coupon-form button { color:#fff; background:var(--primary-700); border:0; border-radius:8px; font-size:11px; font-weight:700; }
.order-summary { position:sticky; top:138px; padding:18px; }
.order-summary h2 { margin:0 0 14px; color:var(--primary-900); font-size:16px; }
.summary-line { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:42px; color:#657286; border-bottom:1px solid #edf1f5; font-size:11px; }
.summary-line strong { color:#2b394f; }
.summary-line--total { min-height:57px; border-bottom:0; color:#26344a; font-size:12.5px; font-weight:700; }
.summary-line--total strong { color:var(--accent); font-size:18px; }
.order-summary .primary-button, .order-summary .accent-button { width:100%; margin-top:10px; }
.checkout-form-card { padding:20px; }
.checkout-section + .checkout-section { margin-top:22px; padding-top:20px; border-top:1px solid #edf1f5; }
.checkout-section h2 { margin:0 0 13px; color:var(--primary-900); font-size:16px; }
.checkout-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.checkout-form-grid .form-field--full { grid-column:1 / -1; }
.choice-list { display:grid; gap:9px; }
.choice-card { display:flex; align-items:center; gap:10px; padding:12px 13px; background:#fff; border:1px solid #dfe7f1; border-radius:10px; cursor:pointer; }
.choice-card:has(input:checked) { border-color:var(--primary-600); box-shadow:0 0 0 2px rgba(18,96,211,.07); }
.choice-card input { accent-color:var(--primary-700); }
.choice-card b { display:block; color:#354259; font-size:11.5px; }
.choice-card small { display:block; color:#8490a2; font-size:9.5px; }
.wishlist-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.wishlist-grid .product-card { height:335px; }
.compare-card { overflow:auto; }
.compare-table { min-width:980px; width:100%; border-collapse:collapse; }
.compare-table th, .compare-table td { padding:13px; border:1px solid #e3e9f1; text-align:center; vertical-align:middle; font-size:11px; }
.compare-table th:first-child, .compare-table td:first-child { position:sticky; right:0; z-index:2; min-width:160px; color:#344158; background:#f7f9fc; text-align:right; font-weight:700; }
.compare-product img { width:120px; height:100px; margin:0 auto 8px; object-fit:contain; }
.compare-product h2 { min-height:44px; margin:0 0 7px; color:#2b394f; font-size:12px; line-height:1.8; }
.compare-remove { color:#a4515b; background:transparent; border:0; font-size:10px; }
.account-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:18px; align-items:start; }
.account-sidebar { padding:15px; }
.account-user { display:flex; align-items:center; gap:10px; padding:8px 6px 15px; border-bottom:1px solid #edf1f5; }
.account-user__avatar { display:grid; place-items:center; width:48px; height:48px; color:#fff; background:linear-gradient(145deg,var(--primary-800),color-mix(in srgb,var(--primary-800) 72%,#000)); border-radius:50%; }
.account-user b { display:block; color:#2c394f; font-size:12px; }
.account-user small { color:#8a95a6; font-size:9.5px; }
.account-menu { display:grid; margin-top:10px; }
.account-menu button, .account-menu a { display:flex; align-items:center; gap:9px; min-height:44px; padding:0 10px; color:#617086; background:transparent; border:0; border-radius:8px; text-align:right; font-size:11.5px; }
.account-menu button.is-active, .account-menu a:hover { color:var(--primary-800); background:#edf4ff; }
.account-content { padding:20px; }
.account-panel { display:none; }
.account-panel.is-active { display:block; }
.dashboard-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
.dashboard-stat { display:flex; align-items:center; gap:11px; padding:14px; background:#f8fafc; border:1px solid #e1e8f1; border-radius:10px; }
.dashboard-stat .icon { width:28px; height:28px; color:var(--primary-700); }
.dashboard-stat strong { display:block; color:#2c394e; font-size:17px; }
.dashboard-stat span { color:#7e899a; font-size:9.8px; }
.order-list { display:grid; gap:9px; margin-top:17px; }
.order-row { display:grid; grid-template-columns:1fr 110px 120px 90px; gap:10px; align-items:center; padding:12px 13px; border:1px solid #e0e7f0; border-radius:9px; font-size:10.5px; }
.login-shell { display:grid; grid-template-columns:1fr 1fr; min-height:520px; overflow:hidden; }
.login-art { display:flex; flex-direction:column; justify-content:flex-end; padding:32px; color:#fff; background:linear-gradient(150deg,rgba(4,44,118,.85),rgba(7,72,166,.9)),url('../images/about-store.webp') center/cover; }
.login-art h1 { margin:0 0 8px; font-size:26px; }
.login-art p { max-width:470px; margin:0; color:rgba(255,255,255,.75); font-size:11.5px; line-height:2; }
.login-form-side { padding:34px; }
.auth-tabs { display:flex; gap:5px; margin-bottom:22px; padding:4px; background:#f2f5f9; border-radius:10px; }
.auth-tabs button { flex:1; min-height:41px; color:#647186; background:transparent; border:0; border-radius:8px; font-size:11.5px; font-weight:700; }
.auth-tabs button[aria-selected="true"] { color:#fff; background:var(--primary-700); }
.auth-panel { display:none; }
.auth-panel.is-active { display:grid; gap:13px; }

/* 404 */
.error-page { display:grid; place-items:center; min-height:520px; text-align:center; }
.error-code { position:relative; color:var(--primary-800); font:800 130px/1 Arial,sans-serif; letter-spacing:-10px; }
.error-code span { color:var(--accent); }
.error-page h1 { margin:8px 0 4px; color:#26344a; font-size:24px; }
.error-page p { max-width:540px; margin:0 auto 18px; color:#738095; font-size:11.5px; line-height:2; }

/* Responsive */
@media (max-width:1100px) {
  .catalog-layout { grid-template-columns:235px minmax(0,1fr); }
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .category-strip { display:block; min-width:0; }
  .related-products-grid, .wishlist-grid { grid-template-columns:repeat(3,1fr); }
  .contact-cards { grid-template-columns:repeat(2,1fr); }
  .brand-wall { grid-template-columns:repeat(3,1fr); }
  .product-detail-grid { grid-template-columns:.95fr 1.05fr; }
  .product-gallery__main { height:380px; }
  .article-page-grid { grid-template-columns:minmax(0,1fr) 235px; }
}
@media (max-width:900px) {
  .page-hero h1 { font-size:23px; }
  .catalog-layout { grid-template-columns:1fr; }
  .catalog-sidebar { position:fixed; z-index:2200; top:0; right:0; bottom:0; width:min(86vw,330px); border-radius:0; transform:translateX(105%); transition:.25s; overflow:auto; }
  .catalog-sidebar.is-open { transform:translateX(0); }
  .catalog-mobile-overlay { position:fixed; z-index:2190; inset:0; display:block; visibility:hidden; opacity:0; background:rgba(4,18,43,.48); transition:.2s; }
  .catalog-mobile-overlay.is-open { visibility:visible; opacity:1; }
  .mobile-filter-open { display:inline-flex; }
  .product-detail-grid { grid-template-columns:1fr; }
  .product-gallery__main { height:430px; }
  .blog-feature-grid { grid-template-columns:1fr; }
  .blog-feature-side { grid-template-columns:1fr 1fr; grid-template-rows:none; }
  .blog-grid { grid-template-columns:repeat(2,1fr); }
  .article-page-grid { grid-template-columns:1fr; }
  .article-sidebar { position:static; grid-template-columns:1fr 1fr; }
  .toc-card { grid-column:1 / -1; }
  .contact-main-grid, .about-story { grid-template-columns:1fr; }
  .about-story__image { order:-1; }
  .cart-layout, .checkout-layout { grid-template-columns:1fr; }
  .order-summary { position:static; }
  .account-layout { grid-template-columns:1fr; }
  .account-sidebar { position:static; }
}
@media (max-width:768px) {
  .internal-page .page-shell { padding-top:16px; }
  .page-hero { padding:20px; }
  .page-hero__inner { align-items:flex-start; }
  .page-hero__art { width:105px; min-width:105px; height:80px; }
  .page-hero h1 { font-size:20px; }
  .catalog-toolbar { align-items:flex-start; flex-direction:column; }
  .catalog-toolbar__right, .catalog-toolbar__left { width:100%; justify-content:space-between; }
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .catalog-grid .product-card { height:320px; padding:11px; }
  .catalog-grid .product-card__image { height:132px; }
  .catalog-grid.is-list .product-card { grid-template-columns:130px 1fr; grid-template-rows:auto auto auto; min-height:195px; gap:5px 12px; }
  .catalog-grid.is-list .product-card__top { grid-column:2; }
  .catalog-grid.is-list .product-card__image { grid-column:1; grid-row:1 / 4; height:155px; }
  .catalog-grid.is-list .product-card h3, .catalog-grid.is-list .product-card__prices, .catalog-grid.is-list .product-card__actions { grid-column:2; grid-row:auto; }
  .category-strip { display:block; min-width:0; overflow:visible; padding-bottom:0; scroll-snap-type:none; }
  .category-mini-card { flex:0 0 130px; scroll-snap-align:start; }
  .product-gallery__main { height:350px; }
  .product-summary { padding:18px; }
  .product-summary h1 { font-size:20px; }
  .purchase-row { grid-template-columns:104px 1fr 44px 44px; }
  .product-benefits { grid-template-columns:1fr; }
  .related-products-grid, .wishlist-grid { grid-template-columns:repeat(2,1fr); }
  .blog-feature-main { min-height:330px; }
  .blog-feature-side { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .blog-card__image { height:160px; }
  .newsletter-box { grid-template-columns:1fr; }
  .newsletter-form { grid-template-columns:1fr 100px; }
  .article-cover { height:330px; }
  .article-header, .article-body { padding-inline:19px; }
  .article-header h1 { font-size:22px; }
  .article-sidebar { grid-template-columns:1fr; }
  .contact-cards { grid-template-columns:1fr 1fr; }
  .contact-form-grid { grid-template-columns:1fr; }
  .contact-form-grid .form-field--full { grid-column:auto; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .values-grid { grid-template-columns:1fr; }
  .brand-wall { grid-template-columns:repeat(3,1fr); }
  .search-page-form { grid-template-columns:1fr; }
  .cart-table-head { display:none; }
  .cart-item { grid-template-columns:1fr 105px 42px; grid-template-rows:auto auto; }
  .cart-product { grid-column:1 / -1; }
  .cart-item .cart-price { align-self:center; }
  .cart-actions { align-items:stretch; flex-direction:column; }
  .coupon-form { grid-template-columns:1fr 90px; }
  .checkout-form-grid { grid-template-columns:1fr; }
  .checkout-form-grid .form-field--full { grid-column:auto; }
  .dashboard-stats { grid-template-columns:1fr; }
  .order-row { grid-template-columns:1fr 1fr; }
  .login-shell { grid-template-columns:1fr; }
  .login-art { min-height:220px; }
}
@media (max-width:520px) {
  .page-hero__art { display:none; }
  .page-hero h1 { font-size:19px; }
  .section-title-row { align-items:flex-start; flex-direction:column; }
  .catalog-toolbar__left { flex-wrap:wrap; }
  .catalog-toolbar select { flex:1; }
  .catalog-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .catalog-grid .product-card { height:302px; padding:9px; }
  .catalog-grid .product-card__image { height:118px; }
  .catalog-grid .product-card h3 { font-size:11.5px; }
  .catalog-grid .product-card__actions .icon-button { width:30px; height:30px; }
  .catalog-grid .add-to-cart { width:34px; height:34px; }
  .product-gallery { padding:11px; }
  .product-gallery__main { height:290px; }
  .product-gallery__thumbs { grid-template-columns:repeat(4,70px); overflow:auto; }
  .product-thumb { height:68px; }
  .product-bullets { grid-template-columns:1fr; }
  .product-price-area strong { font-size:22px; }
  .purchase-row { grid-template-columns:96px 1fr; }
  .purchase-row .button-icon-only { display:none; }
  .tabs-nav { padding-inline:8px; }
  .tab-panel { padding:18px 15px; }
  .review-summary { grid-template-columns:1fr; }
  .related-products-grid, .wishlist-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .related-products-grid .product-card, .wishlist-grid .product-card { height:300px; padding:9px; }
  .blog-feature-main { min-height:300px; }
  .blog-feature-main__content { padding:17px; }
  .blog-feature-main__content h2 { font-size:18px; }
  .blog-grid { grid-template-columns:1fr; }
  .blog-card__image { height:200px; }
  .newsletter-form { grid-template-columns:1fr; }
  .newsletter-form button { height:42px; }
  .article-cover { height:260px; }
  .article-header h1 { font-size:20px; }
  .contact-cards { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .brand-wall { grid-template-columns:repeat(2,1fr); }
  .cart-item { grid-template-columns:1fr 42px; }
  .cart-item .quantity-control { grid-column:1; }
  .cart-item .cart-price { grid-column:1; }
  .cart-item .cart-remove { grid-column:2; grid-row:2 / 4; }
  .login-form-side { padding:22px 17px; }
  .error-code { font-size:96px; }
}
@media (prefers-reduced-motion:reduce) {
  .internal-page *, .internal-page *::before, .internal-page *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
.catalog-sidebar__close { display: none; }
.catalog-sidebar__head h2 { display: inline-flex; align-items: center; gap: 7px; }
.catalog-sidebar__head h2 .icon { width: 18px; height: 18px; }
@media (max-width:900px) {
  .catalog-sidebar__close { display: grid; }
  .catalog-sidebar__head { grid-template-columns: 1fr auto auto; }
}
