/* Day Wireless - Motorola product pages (motorola-*.dwt templates)
   Builds on the .pp product layout in /includes/oiw-framework/css/oiw-framework.css.
   The page content comes from /include/new-format/motorola-solutions/<product>/ includes. */

/* Hero gallery */
.day-pp .pp-hero { padding-top: 24px; }
.day-pp-gallery { position: relative; }
.day-pp-slides { display: flex; width: 100%; height: 400px; margin: 0; padding: 0; list-style: none; }
.day-pp-slides > li { display: none; flex: 1 1 100%; align-items: center; justify-content: center; margin: 0; }
.day-pp-slides > li.is-active, .day-pp-slides:not(.is-ready) > li:first-child { display: flex; }
.day-pp-slides img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.day-pp-gallery .pp-gallery-thumbs:empty { display: none; }
.day-pp-gallery .pp-gallery-thumbs a { cursor: pointer; }
.day-pp-gallery .pp-gallery-thumbs img { mix-blend-mode: multiply; }
@media (max-width: 600px) { .day-pp-slides { height: 280px; } }

/* Hero text */
.day-pp-brand { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oiw-brand, #1483b2); }
.day-pp-title h1, .day-pp-h1 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.day-pp .pp-lead { max-width: 620px; }
.day-pp .pp-lead p { margin: 14px 0 0; }
.day-pp .pp-lead p:first-child { margin-top: 16px; }
.day-pp .pp-lead a { color: var(--oiw-brand-dark, #0f6b93); }
.day-pp .pp-lead ul { margin: 14px 0 0; padding-left: 20px; }
.day-pp-phone { color: var(--oiw-text, #22292e); font-size: 17px; }
.day-pp-phone:hover { color: var(--oiw-brand, #1483b2); }

/* Specifications - the includes use <p><strong>Label</strong><br>Value</p> */
.day-pp .pp-spec-list p { display: grid; grid-template-columns: 44% 1fr; gap: 14px; padding: 10px 0; }
.day-pp .pp-spec-list p > strong:first-child { font-weight: 400; color: var(--oiw-muted, #5d676e); }
.day-pp .pp-spec-list p > strong:first-child + br { display: none; }
.day-pp .pp-spec-list p:not(:has(> strong:first-child)) { display: block; }
.day-pp .pp-spec-list table { width: 100%; font-size: 14.5px; }
.day-pp .pp-spec-list ul { margin: 8px 0 12px; padding-left: 18px; font-size: 14.5px; }
@media (max-width: 600px) { .day-pp .pp-spec-list p { grid-template-columns: 1fr; gap: 2px; } }

/* Features (Additional Information) */
.day-pp-features ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 32px; margin: 0; padding: 0; list-style: none; }
.day-pp-features li { margin: 0; padding-top: 16px; border-top: 3px solid var(--oiw-brand, #1483b2); font-size: 15px; line-height: 1.65; color: var(--oiw-muted, #5d676e); }
.day-pp-features li > strong:first-child { display: block; margin-bottom: 4px; font-size: 16px; color: var(--oiw-text, #22292e); }
.day-pp-features li.has-title > strong:first-child + br { display: none; }
.day-pp-features h3 { margin: 26px 0 10px; font-size: 20px; }
.day-pp-features p { font-size: 16px; line-height: 1.7; }
.day-pp-features iframe { width: 100%; max-width: 760px; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }

/* Resources - the includes use h3 + ul.oiw-downloads */
.day-pp .pp-downloads ul.oiw-downloads, .day-pp .pp-downloads ul { margin: 0 0 6px; padding: 0; list-style: none; }

/* Accessories - old Bootstrap 4 card accordions (data-toggle="collapse"), driven by day-product.js */
.day-pp-acc .card-group-custom { border-top: 1px solid var(--oiw-border, #dde2e5); }
.day-pp-acc .card { display: block; margin: 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--oiw-border, #dde2e5); border-radius: 0; box-shadow: none; }
.day-pp-acc .card-header { padding: 0; background: none; border: 0; }
.day-pp-acc .card-title { margin: 0; }
.day-pp-acc .card-title a { position: relative; display: block; padding: 16px 40px 16px 0; color: var(--oiw-text, #22292e); text-decoration: none; }
.day-pp-acc .card-title a h2, .day-pp-acc .card-title a h3 { margin: 0; font-size: 17px; font-weight: 700; }
.day-pp-acc .card-title a::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--oiw-brand, #1483b2); }
.day-pp-acc .card-title a[aria-expanded="true"]::after { content: "\2212"; }
.day-pp-acc .card-title a:hover { color: var(--oiw-brand-dark, #0f6b93); }
.day-pp-acc .card-arrow { display: none; }
.day-pp-acc .collapse { display: none; }
.day-pp-acc .collapse.show { display: block; padding: 4px 0 22px; }
.day-pp-acc h3 { margin: 6px 0 12px; font-size: 15px; font-weight: 700; }
.day-pp-acc table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-size: 14.5px; }
.day-pp-acc td { padding: 10px 12px; vertical-align: middle; border-bottom: 1px solid #edf0f2; }
.day-pp-acc td:first-child { width: 96px; }
.day-pp-acc td img { max-width: 80px; max-height: 80px; width: auto; mix-blend-mode: multiply; }
.day-pp-acc tr.rowodd { background: #f9fbfb; }
.day-pp-acc .subhead { margin: 0 0 2px; font-weight: 700; }
.day-pp-acc td p { margin: 0; }

/* Hide sections whose include came back empty (set by day-product.js) */
.day-pp .pp-section[hidden], .day-pp .pp-section-nav li[hidden], .day-pp .pp-specs > div[hidden] { display: none; }

/* Quote box */
.day-pp .pp-quote p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--oiw-muted, #5d676e); }
.day-pp .pp-quote .pp-btn-outline { justify-content: center; }

/* Accessories as <details> groups (hard-coded pages) */
.day-pp-acc { border-top: 1px solid var(--oiw-border, #dde2e5); }
.day-acc-item { border-bottom: 1px solid var(--oiw-border, #dde2e5); }
.day-acc-item > summary { position: relative; display: block; padding: 16px 40px 16px 0; font-size: 17px; font-weight: 700; color: var(--oiw-text, #22292e); cursor: pointer; list-style: none; }
.day-acc-item > summary::-webkit-details-marker { display: none; }
.day-acc-item > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--oiw-brand, #1483b2); }
.day-acc-item[open] > summary::after { content: "\2212"; }
.day-acc-item > summary:hover { color: var(--oiw-brand-dark, #0f6b93); }
.day-acc-body { padding: 4px 0 22px; }
