/* Keep the image and Thai specifications legible beside each other. */
#grid{align-items:stretch!important}
#grid[data-retained="true"]{opacity:.58;transition:opacity .15s ease}
@media(prefers-reduced-motion:reduce){#grid[data-retained="true"]{transition:none}}
@media(min-width:1200px){#grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:760px) and (max-width:1199px){#grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:759px){#grid{grid-template-columns:minmax(0,1fr)!important}}

/* Give every card in a row the same bottom edge and keep its actions aligned. */
#grid>.sdd-card{
  height:100%!important;
  grid-template-rows:auto minmax(170px,auto) auto minmax(0,1fr)!important;
  align-content:stretch!important;
}
#grid .pc-catalog-price{display:flex;flex-direction:column;min-height:258px;min-width:0}
#grid .pc-catalog-price .sdd-package-cta{margin-top:auto!important}
#grid .pc-normal{min-height:80px;padding:8px 10px;border-radius:8px;background:#f5f6f8}
#grid .pc-flat-rate{display:flex;align-items:center;min-height:44px;margin:0;border-top:1px solid #e6e9ef;color:#536078;font-size:12px}
#grid .sdd-card__info{overflow-wrap:break-word;word-break:normal}
#grid .sdd-hero{height:170px!important;overflow:hidden}
#grid .sdd-hero .gallery-image{object-fit:contain!important;object-position:center!important}
@media(max-width:759px){
  #grid>.sdd-card{grid-template-rows:auto minmax(150px,auto) auto minmax(0,1fr)!important}
  #grid .sdd-hero{height:150px!important}
}
@media(max-width:360px){
  #grid .pc-secondary .sdd-secondary-action:first-child{flex:2 1 0;min-width:0}
  #grid .pc-secondary .sdd-secondary-action:last-child{flex:1 1 0;min-width:0}
}
#catalogPagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;margin:24px 0 90px}
#catalogPagination a,#catalogPagination button,#catalogPagination span[aria-disabled=true]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #dce1e8;border-radius:9px;background:#fff;color:#071633;font:inherit;text-decoration:none;cursor:pointer}
#catalogPagination [aria-current=page]{background:var(--sdd-button-primary,#f03);border-color:var(--sdd-button-primary,#f03);color:#fff}
#catalogPagination button:disabled,#catalogPagination [aria-disabled=true]{opacity:.4;cursor:default}
#catalogPagination a:focus-visible,#catalogPagination button:focus-visible{outline:3px solid #071633;outline-offset:2px}
#count{scroll-margin-top:100px}

/* Reviewed November source framing.
   Only the six checked primary Card/Hero files below enlarge their white canvas.
   The foreground target is 134px high, reduced when its full composition needs
   more width. The farther horizontal bound leaves at least 6px at each side.
   Keep the locked 150/170px hero slots, contain scaling and later gallery photos.
   Reviewed files: assets/catalog-hero/2026-11-01/{card-manifest,manifest}.csv. */
#grid :is(
  [data-card="WS523S.AEWPLTH"],
  [data-card="FV1413S2BA.ABLPETH"],
  [data-card="GC-B52APGAM.ADHPLMT"],
  [data-card="MD19GQGA1.ATH"],
  [data-card="MD19GQGA1S.ATH"],
  [data-card="32U889.GRAB"]
) .sdd-hero .gallery-image{
  width:var(--pc-framing-width,100%)!important;
  height:var(--pc-framing-height,100%)!important;
  min-width:0!important;
  min-height:0!important;
  max-width:var(--pc-framing-cap,100%)!important;
  max-height:none!important;
  flex-shrink:0;
  object-fit:contain!important;
  transform:none!important;
}

/* Card 600×960, foreground [271,346,328,613]. */
#grid [data-card="WS523S.AEWPLTH"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/WS523S-AEWPLTH_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/WS523S-AEWPLTH_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/WS523S-AEWPLTH_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/WS523S-AEWPLTH_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:481.797753px;
  --pc-framing-cap:calc((100% - 12px) * 10.344827586);
}

/* Card 720×960, foreground [160,204,566,759]. */
#grid [data-card="FV1413S2BA.ABLPETH"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/FV1413S2BA-ABLPETH_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/FV1413S2BA-ABLPETH_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/FV1413S2BA-ABLPETH_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/FV1413S2BA-ABLPETH_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:231.783784px;
  --pc-framing-cap:calc((100% - 12px) * 1.747572816);
}

/* Card 600×960, foreground [156,164,444,796]. */
#grid [data-card="GC-B52APGAM.ADHPLMT"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/GC-B52APGAM-ADHPLMT_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/GC-B52APGAM-ADHPLMT_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/GC-B52APGAM-ADHPLMT_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/GC-B52APGAM-ADHPLMT_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:203.544304px;
  --pc-framing-cap:calc((100% - 12px) * 2.083333333);
}

/* Same canvas scale and width cap as its gift bundle keep the main unit equal in size. */
#grid [data-card="MD19GQGA1.ATH"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/MD19GQGA1-ATH_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/MD19GQGA1-ATH_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/MD19GQGA1-ATH_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/MD19GQGA1-ATH_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:230.125224px;
  --pc-framing-cap:calc((100% - 12px) * 1.171875000);
}

/* Card 600×960, full main-unit/gift foreground [47,201,556,760]. */
#grid [data-card="MD19GQGA1S.ATH"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/MD19GQGA1S-ATH_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/MD19GQGA1S-ATH_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/MD19GQGA1S-ATH_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/MD19GQGA1S-ATH_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:230.125224px;
  --pc-framing-cap:calc((100% - 12px) * 1.171875000);
}

/* Card 960×600, complete monitor/GRAB foreground [181,110,780,491]. */
#grid [data-card="32U889.GRAB"] .sdd-hero .gallery-image:is(
  [src="/assets/catalog-hero/2026-11-01/32U889-GRAB_01-card-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/32U889-GRAB_01-card-v01.webp"],
  [src="/assets/catalog-hero/2026-11-01/32U889-GRAB_01-hero-v01.webp"],
  [src="https://subscribedd.com/assets/catalog-hero/2026-11-01/32U889-GRAB_01-hero-v01.webp"]
){
  --pc-framing-width:auto;
  --pc-framing-height:211.023622px;
  --pc-framing-cap:calc((100% - 12px) * 1.600000000);
}
