/* The v71 factory and ordering content reuses the existing site palette and card styles. */
.homepage #collections{background:#f1f6fa}
.homepage #lighting-effects{background:#fff}
.factory-v71-gallery{display:grid;grid-template-columns:1fr 1.35fr 1fr;grid-template-rows:1fr 1fr;gap:12px;height:410px}
.factory-v71-gallery figure{margin:0;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:4px;background:#fff;display:grid;grid-template-rows:minmax(0,1fr) auto}
.factory-v71-gallery img{height:100%;min-height:0;object-fit:cover}
.factory-v71-gallery figcaption{display:flex;align-items:center;gap:10px;padding:9px 12px;font-size:11px;line-height:1.35;min-height:38px}
.factory-v71-gallery figcaption>span:first-child{font-size:10px;color:var(--blue);font-weight:700}
.factory-v71-production{grid-column:1;grid-row:1/3}.factory-v71-building{grid-column:2;grid-row:1/3}.factory-v71-warehouse{grid-column:3;grid-row:1}.factory-v71-packing{grid-column:3;grid-row:2}
.factory-v71-building img{object-position:42% 50%}.factory-v71-production img{object-position:52% 50%}
.factory-v71-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.factory-v71-benefits article{border:1px solid #dce6ee;border-radius:5px;background:#f5f8fa;padding:19px 20px}
.factory-v71-benefits h3{font-size:17px;margin:0 0 9px;line-height:1.3;color:var(--ink)}
.factory-v71-benefits p{margin:0;font-size:12px;line-height:1.8;color:var(--muted)}
.v71-custom .custom-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v71-custom .custom-service-grid>article{padding:21px}
.v71-custom .custom-service-grid h3{font-size:18px;line-height:1.3}
.v71-custom .custom-service-grid p{margin-bottom:0}
.home-order-workflow{margin-top:26px;padding:23px;background:#fff;border:1px solid #dce6ee;border-radius:5px}
.home-order-workflow h3{font-size:18px;margin:0 0 22px}
.home-order-workflow ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:18px}
.home-order-workflow li{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4;min-width:0}
.home-order-workflow li:after{content:"";position:absolute;left:39px;right:0;top:15px;height:1px;background:#c6dce9}
.home-order-workflow li:last-child:after{display:none}
.workflow-number{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px;font-weight:700;position:relative;z-index:1;flex-shrink:0}
.workflow-notes{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e5edf3;margin-top:20px;padding-top:13px}
.workflow-notes p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}
@media(max-width:950px){.factory-v71-gallery{height:360px;gap:10px;grid-template-columns:1fr 1.25fr 1fr}.factory-v71-gallery figcaption{font-size:10px;padding:8px}.factory-v71-benefits{gap:12px}.factory-v71-benefits article{padding:17px}.factory-v71-benefits h3{font-size:15px}.v71-custom .custom-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-order-workflow{padding:20px}.home-order-workflow ol{gap:12px}}
@media(max-width:720px){.factory-v71-gallery{height:auto;grid-template-columns:1fr 1fr;grid-template-rows:265px 205px;gap:12px}.factory-v71-production{grid-column:1;grid-row:1}.factory-v71-building{grid-column:2;grid-row:1}.factory-v71-warehouse{grid-column:1;grid-row:2}.factory-v71-packing{grid-column:2;grid-row:2}.factory-v71-gallery figcaption{font-size:11px;gap:8px;padding:9px;min-height:42px}.factory-v71-benefits{grid-template-columns:1fr;gap:10px;margin-top:15px}.factory-v71-benefits article{padding:17px 18px}.factory-v71-benefits h3{font-size:17px;margin-bottom:6px}.factory-v71-benefits p{font-size:12px}.v71-custom .custom-service-grid{grid-template-columns:1fr;gap:13px}.v71-custom .custom-service-grid>article{padding:20px}.v71-custom .custom-service-grid h3{font-size:20px}.home-order-workflow{padding:20px;margin-top:20px}.home-order-workflow h3{font-size:19px;margin-bottom:20px}.home-order-workflow ol{grid-template-columns:1fr;gap:0}.home-order-workflow li{flex-direction:row;align-items:center;min-height:56px;gap:14px;font-size:13px}.home-order-workflow li:after{left:15px;right:auto;top:42px;width:1px;height:22px}.workflow-number{width:31px;height:31px}.workflow-notes{flex-direction:column;gap:7px}.home-collection-card .home-product-copy>div{align-items:flex-end}}
[dir=rtl] .home-order-workflow li:after{left:0;right:39px}
@media(max-width:720px){[dir=rtl] .home-order-workflow li:after{left:auto;right:15px}}

/* Scoped factory positioning and semantic hero lines. */
.home-hero-copy>p:not(.eyebrow){white-space:pre-line}
.v71-factory .home-section-head{grid-template-columns:minmax(0,1fr);gap:12px}
.v71-factory .home-section-head h2{white-space:normal}
.v71-factory .home-section-head>p{max-width:none;width:100%;font-size:12px;margin:0;line-height:1.85;white-space:normal}
@media(min-width:721px) and (max-width:899px){.v71-factory .home-section-head h2{font-size:24px}}
@media(min-width:900px){.v71-factory .home-section-head h2{font-size:clamp(24px,2.8vw,28px);white-space:nowrap}.v71-factory .home-section-head>p:lang(zh){font-size:clamp(11px,1.2vw,13px);white-space:nowrap}}

/* Homepage title, subtitle and catalog-action hierarchy. */
.v71-custom .home-section-head{grid-template-columns:minmax(0,1fr);gap:12px}
.v71-custom .home-section-head h2{white-space:normal;font-size:clamp(24px,2.8vw,28px)}
.v71-custom .home-section-head>p{max-width:none;width:100%;margin:0;font-size:12px;line-height:1.85}
.home-section-head.v71-linked-heading{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"eyebrow eyebrow" "title action" "description description";column-gap:24px;row-gap:0;align-items:start}
.v71-linked-heading>.eyebrow{grid-area:eyebrow;margin:0 0 10px}
.v71-linked-heading>h2{grid-area:title;min-width:0;white-space:normal}
.v71-linked-heading>.v71-heading-description{grid-area:description;max-width:none;width:100%;margin:12px 0 0;font-size:12px;line-height:1.85;color:var(--muted)}
.v71-linked-heading>.v71-heading-link{grid-area:action;align-self:center;justify-self:end;white-space:nowrap;margin:0}
@media(max-width:720px){.home-section-head.v71-linked-heading{grid-template-columns:minmax(0,1fr);grid-template-areas:"eyebrow" "title" "description" "action";gap:0}.v71-linked-heading>.v71-heading-link{justify-self:end;margin-top:12px}.v71-custom .home-section-head{gap:12px}.v71-custom .home-section-head h2{font-size:25px}}

/* Delivery-first homepage rhythm and centered desktop workflow. */
.homepage #factory{background:#fff}
.homepage #delivery{background:#f1f6fa}
.homepage #customization{background:#fff}
@media(min-width:721px){.v71-custom .home-order-workflow ol{width:100%;max-width:1050px;margin-inline:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0}.v71-custom .home-order-workflow li{align-items:center;text-align:center;padding:0 9px;gap:10px}.v71-custom .home-order-workflow li:after{inset-inline-start:50%;inset-inline-end:auto;top:15px;width:100%;height:1px}.v71-custom .home-order-workflow li:last-child:after{display:none}}
@media(max-width:720px){.v71-custom .home-order-workflow ol{width:100%;max-width:420px;margin-inline:auto}.v71-custom .home-order-workflow li{text-align:start}}
