efficient-storefront-blocks 0.130.4 → 0.130.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4369,7 +4369,8 @@ em.text-accent {
4369
4369
  background-color: transparent;
4370
4370
  }
4371
4371
  .sf-card-ground-studio [data-part="box"]:has(> * > [data-part="image-block"]),
4372
- .sf-photo-ground-studio {
4372
+ .sf-photo-ground-studio,
4373
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) {
4373
4374
  --sf-card-studio-ground: radial-gradient(
4374
4375
  ellipse at 50% 42%,
4375
4376
  color-mix(in oklab, var(--bg) 96.4%, var(--fg)) 0%,
@@ -4528,6 +4529,79 @@ em.text-accent {
4528
4529
  margin: 0;
4529
4530
  }
4530
4531
 
4532
+ /* ─── Studio with "Words: Over the picture" (Product Grid; INOVIT product page 2026-11-18) ───
4533
+ The product page's "You may also like" draws ONE grey card: the studio
4534
+ ground on the whole card, the wheel and its floor shadows where Studio puts
4535
+ them, and the words inside the card at its foot (the design's `.ptile .pph`
4536
+ and `.ct`). Only the pair draws this; Studio with the words under (the home
4537
+ design), and every other ground, never match these rules.
4538
+ The card box (the box that holds the picture box) is the card: 10:13, as
4539
+ Studio's picture is, and its Padding row is the words' distance from the
4540
+ card's edges (24, 12 on a phone, on the new inovit.com), as it is for
4541
+ "Over the picture". The studio ground is on the card box (one more
4542
+ selector on Studio's ground rule). The picture box stays in the flow, as
4543
+ "Over the picture" puts it: the space above the words, the card box's Gap
4544
+ away from them. The wheel stands at the foot of that space, centred, and
4545
+ it is at most 90% of the space wide (Studio's 77% of the card at the new
4546
+ inovit.com's 24 px Padding; at a smaller Padding it is wider than Studio's)
4547
+ and never taller than the space less a top margin (8%). So no word is ever under the
4548
+ wheel, at any width and any words' length (owner, 2026-11-26: on a phone
4549
+ the wheel covered the names; the design does the same, and his word wins
4550
+ over it). The two floor shadows keep Studio's sizes and places, measured
4551
+ from the wheel (its width and its foot), so they still sit at its foot;
4552
+ the words may reach over them. Their numbers are Studio's cqw numbers
4553
+ above over its 77cqw wheel: a change there is made here too. A "Show
4554
+ next image" rendering is placed as the wheel is, with the same shadows.
4555
+ The picture box must hold the Picture part alone (`:only-child`): in a
4556
+ template whose one Box holds the picture and the words together (the seed
4557
+ card), nothing here matches and the pair draws as before. Every rule here
4558
+ names the card box, so a template whose Picture and Words boxes are root
4559
+ blocks (no card box) draws as before too. */
4560
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) {
4561
+ position: relative;
4562
+ isolation: isolate;
4563
+ aspect-ratio: 10 / 13;
4564
+ display: flex;
4565
+ flex-direction: column;
4566
+ }
4567
+ /* Its row of parts takes the card's height (a percentage height does not
4568
+ resolve against an aspect ratio), so "Over the picture"'s `flex-end` puts
4569
+ the words at the foot. It is a column even when the card box's Direction
4570
+ is a row: the words are always under the wheel's place, never beside it. */
4571
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > :has(> [data-part="box"] > * > [data-part="image-block"]:only-child) {
4572
+ flex: 1 1 auto;
4573
+ flex-direction: column;
4574
+ }
4575
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) {
4576
+ --sf-studio-over-wheel: min(90cqw, 100cqh - 8cqw);
4577
+ z-index: -1;
4578
+ aspect-ratio: auto;
4579
+ background-image: none;
4580
+ }
4581
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) [data-part="image-frame"] > [data-part="image"],
4582
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) [data-hover-media][data-hover-fit="contain"] > img {
4583
+ left: calc(50% - var(--sf-studio-over-wheel) / 2);
4584
+ top: calc(100% - var(--sf-studio-over-wheel));
4585
+ width: var(--sf-studio-over-wheel);
4586
+ height: var(--sf-studio-over-wheel);
4587
+ }
4588
+ /* The wide, faint shadow (`.s2`) and the near one (`.s1`), in the wheel's
4589
+ width: Studio's cqw numbers over its 77cqw wheel, from the wheel's foot. */
4590
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child)::before,
4591
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) [data-hover-media][data-hover-fit="contain"]::before {
4592
+ left: calc(50% - 0.68 * var(--sf-studio-over-wheel));
4593
+ top: calc(100% - 0.11935 * var(--sf-studio-over-wheel));
4594
+ width: calc(1.42 * var(--sf-studio-over-wheel));
4595
+ height: calc(0.28403 * var(--sf-studio-over-wheel));
4596
+ }
4597
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child)::after,
4598
+ .sf-card-ground-studio.sf-card-words-over [data-part="box"]:has(> * > [data-part="box"] > * > [data-part="image-block"]:only-child) > * > [data-part="box"]:has(> * > [data-part="image-block"]:only-child) [data-hover-media][data-hover-fit="contain"]::after {
4599
+ left: calc(50% - 0.46 * var(--sf-studio-over-wheel));
4600
+ top: calc(100% - 0.12662 * var(--sf-studio-over-wheel));
4601
+ width: var(--sf-studio-over-wheel);
4602
+ height: calc(0.16662 * var(--sf-studio-over-wheel));
4603
+ }
4604
+
4531
4605
  /* A CARD GRID NEVER DRAWS A CARD UNDER ITS MINIMUM WIDTH (2026-11-24).
4532
4606
  A Product Grid set to 4 or 6 columns drew its cards at about 155 px when the
4533
4607
  grid itself was narrow (a half-width box, a narrow frame): its tracks were