/* Chase, November 21, 2026: rounded corners identical to porsche.com (radius tokens 8/12/24/32).
   Website-1-only extension. Geometry/layout, fonts and brand colors stay owned by their existing views. */
#wrapwrap {
  --cusa-radius-control: 12px;
  --cusa-radius-swatch: 12px;
  --cusa-radius-card: 24px;
  --cusa-radius-media: 32px;
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 8px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-xl: 24px;
}
#wrapwrap :is(.btn, .cu-button, .cu-btn, .cusa-button, .cusa-btn, .cusa-cta, .o_wsale_buy_now, #add_to_cart) {
  border-radius: var(--cusa-radius-control) !important;
}
#wrapwrap :is(.form-control, .form-select, input[type="search"], select, textarea) {
  border-radius: var(--cusa-radius-control) !important;
}
/* Cards are rounded only when they hold a photo (owner, Nov 22: information panels stay square). */
#wrapwrap #wrap :is(.card, .oe_product_cart, .cu-card, .cu-range-card, .cu-model-card, .cu-option-card, .cu-feature-card):has(img, picture, video) {
  border-radius: var(--cusa-radius-card) !important;
}
#wrapwrap #wrap :is(.oe_product_image, .o_carousel_product_outer, .cu-3d-stage, .cu-acc, .cu-photo-strip, .cu-gallery, .cu-split > img, .cu-split figure, .cu-card > img, .cu-range-card > img, .cu-model-card > img, .s_product_list .card-img-top) {
  border-radius: var(--cusa-radius-media) !important;
}
#wrapwrap #model-3d :is(.pc-color-tile, .pc-fields select, .pc-size-field select, .pc-actions button, .pcs-controls button, .pcs-controls select, .pcs-controls input[type="number"], .cu-3d-tabs button, .cu-3d-go, .cu-3d-ar) {
  border-radius: var(--cusa-radius-control) !important;
}
#wrapwrap #model-3d .pc-color-tile {
  border-radius: var(--cusa-radius-swatch) !important;
}

/* Porsche-identical slideshow (Chase, Nov 21 2026). Values measured on porsche.com 911 Turbo S
   "Elements in Turbonite": 32px corners, 36px between slides, arrows (24px icon, 40px target, 4px apart)
   36px above the slides on the right, dots 36px below (active 20x8 #010205, others 8x8 rgba(17,17,19,.6),
   8px apart), copy padded 96/36/36 over Porsche's eased black fade, title 400 weight, body 16/24, all white.
   Selectors carry two ids so page-level styles cannot override them. No less-than or ampersand characters. */
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow { display: flex !important; flex-direction: column !important; gap: 36px !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-controls { display: contents !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-actions {
  order: 1; display: flex !important; justify-content: flex-end !important; align-items: center !important;
  gap: 4px !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  position: static !important; width: auto !important; height: auto !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-track { order: 2; gap: 36px !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-choices {
  order: 3; display: flex !important; justify-content: center !important; align-items: center !important;
  flex-wrap: nowrap !important; gap: 8px !important; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; height: auto !important; width: auto !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-counter,
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow [data-slide-play],
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cu-zoom-ico { display: none !important; }

/* Arrows */
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction] {
  width: 40px !important; height: 40px !important; min-width: 0 !important; min-height: 0 !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 6px !important;
  background: transparent !important; box-shadow: none !important; font-size: 0 !important; line-height: 0 !important;
  color: #010205 !important; cursor: pointer; display: inline-flex !important; align-items: center; justify-content: center;
  transition: background-color .25s ease;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction]::before {
  content: ""; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--cusa-arrow) center / contain no-repeat; mask: var(--cusa-arrow) center / contain no-repeat;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction]::after { content: none !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction="1"] { --cusa-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction="-1"] { --cusa-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4.5M10.5 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction]:hover { background: rgba(148, 149, 152, .18) !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction]:disabled,
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction][aria-disabled="true"] { color: rgba(36, 36, 40, .5) !important; background: transparent !important; cursor: default; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button[data-slide-direction]:focus-visible { outline: 2px solid #0458A0 !important; outline-offset: 2px; }

/* Dots */
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button.cusa-cover-choice {
  width: 8px !important; height: 8px !important; min-width: 0 !important; min-height: 0 !important; max-height: 8px !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 9999px !important;
  background: rgba(17, 17, 19, .6) !important; box-shadow: none !important; flex: 0 0 auto !important;
  font-size: 0 !important; line-height: 0 !important; color: transparent !important; overflow: hidden !important;
  text-indent: -9999px; cursor: pointer; transition: width .25s ease, background-color .25s ease;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button.cusa-cover-choice::before,
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button.cusa-cover-choice::after { content: none !important; display: none !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button.cusa-cover-choice[aria-pressed="true"] { width: 20px !important; background: #010205 !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow button.cusa-cover-choice:focus-visible { outline: 2px solid #0458A0 !important; outline-offset: 3px; }

/* Slide */
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-slide {
  position: relative !important; border-radius: 32px !important; overflow: hidden !important; isolation: isolate;
  background: #010205 !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-slide::after { content: none !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-slide :is(figure, .cu-sys-img, img) { margin: 0 !important; border-radius: 0 !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy {
  position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; z-index: 2;
  margin: 0 !important; padding: 96px 36px 36px !important; border: 0 !important; border-radius: 0 !important;
  color: #fff !important; text-align: left !important;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .01) 8.1%, rgba(0, 0, 0, .05) 15.5%, rgba(0, 0, 0, .12) 22.5%, rgba(0, 0, 0, .22) 29%, rgba(0, 0, 0, .33) 35.3%, rgba(0, 0, 0, .44) 41.2%, rgba(0, 0, 0, .52) 47.1%, rgba(0, 0, 0, .6) 52.9%, rgba(0, 0, 0, .67) 58.8%, rgba(0, 0, 0, .73) 64.7%, rgba(0, 0, 0, .78) 71%, rgba(0, 0, 0, .8) 77.5%, rgba(0, 0, 0, .8)) !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy * {
  color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; text-shadow: none !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy h3 {
  font-size: clamp(26px, calc(1.1rem + .85vw), 38px) !important; font-weight: 400 !important; line-height: 1.28 !important;
  letter-spacing: normal !important; margin: 0 0 16px !important;
}
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy :is(p, li) { font-size: 16px !important; line-height: 24px !important; font-weight: 400 !important; margin: 0 !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy .cu-sys-set { font-size: 12px !important; line-height: 16px !important; letter-spacing: .08em !important; margin: 0 0 8px !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy a { background: none !important; text-decoration: underline !important; text-underline-offset: 3px; font-weight: 400 !important; }
#wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy .cu-card-logo { filter: brightness(0) invert(1); max-height: 28px; width: auto; margin-bottom: 12px; }

@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow { gap: 24px !important; }
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-track { gap: 16px !important; }
  /* Phones: the landscape photo is shorter than the copy, so overlaying would hide the photo.
     Keep the whole photo (never crop the subject) and set the copy under it inside the same rounded card. */
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-slide { display: flex !important; flex-direction: column !important; border-radius: 24px !important; height: auto !important; }
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy {
    position: static !important; padding: 24px !important; background: #010205 !important; flex: 1 1 auto;
  }
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy h3 { font-size: 26px !important; margin: 0 0 12px !important; }
  #wrapwrap #wrap .cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow.cusa-cover-slideshow .cusa-cover-copy :is(p, li) { font-size: 15px !important; line-height: 22px !important; }
}

/* Phone audit fixes, Nov 21 2026 (375px sweep of 45 Canvas USA(R) pages). Text under 12px on phones
   raised to 12px. No less-than or ampersand characters (stored in a QWeb arch). */
@media (max-width: 767px) {
  #wrapwrap #wrap :is(figcaption, dt, .cu-coll-name, .csr-tag, .hcmp-tag, .cu-gc-label, .cu-xl-hero-credit, .lb-tab-c, .cusa-cover-copy b) {
    font-size: 12px !important; line-height: 1.4 !important;
  }
  #wrapwrap #wrap .s_website_form :is(.s_website_form_label, label) span { font-size: 12px !important; }
}

/* Text on photos, phones (Chase, Nov 22 2026: "look at the texts on all of the mobile pages where there is
   an image background"). Porsche's eased fade under captions; never Thin type on a photo (type system v1). */
@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-lookbook .pnl { position: relative; overflow: hidden; }
  #wrapwrap #wrap .cusa-lookbook .pnl::after {
    content: "" !important; position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    top: auto !important; height: 75% !important; z-index: 1 !important; pointer-events: none; opacity: 1 !important;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .05) 15.5%, rgba(0, 0, 0, .22) 29%, rgba(0, 0, 0, .44) 41.2%, rgba(0, 0, 0, .6) 52.9%, rgba(0, 0, 0, .73) 64.7%, rgba(0, 0, 0, .8) 77.5%, rgba(0, 0, 0, .8));
  }
  #wrapwrap #wrap .cusa-lookbook .pnl .plbl { z-index: 2 !important; }
  #wrapwrap #wrap .cusa-lookbook .pnl .plbl i { font-size: 13px !important; opacity: 1 !important; }
  #wrapwrap #wrap .u-hotspots .u-opcap {
    padding-top: 96px !important;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .12) 15%, rgba(0, 0, 0, .44) 35%, rgba(0, 0, 0, .67) 55%, rgba(0, 0, 0, .8) 75%, rgba(0, 0, 0, .8)) !important;
  }
  #wrapwrap #wrap :is(#bahama-one-design, .cu-one, .cu-ih) :is(h1, h2) { font-weight: 300 !important; }
}

/* Homepage "Find your connection." word reveal: on phones the last line stayed at 16% opacity while the paragraph
   sat mid-screen, so it could not be read in place. Phones show the words fully; desktop keeps the reveal. */
@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-connection-intro span { opacity: 1 !important; }
}

/* Parasols page, phones (Chase, Nov 22 2026: "on mobile this should be the slideshow under the hero").
   Visual order only: hero, section nav, parasol range slideshow, then everything else in page order.
   The closing "Start your project" band shares .cu-ih, so it is excluded. Desktop is unchanged. */
@media (max-width: 767px) {
  #wrapwrap #wrap.cu-parasols:has(> #bahama-range) { display: flex !important; flex-direction: column !important; }
  #wrapwrap #wrap.cu-parasols:has(> #bahama-range) > * { order: 3; }
  #wrapwrap #wrap.cu-parasols:has(> #bahama-range) > .cu-ih:not(.cu-ih-close) { order: 0; }
  #wrapwrap #wrap.cu-parasols:has(> #bahama-range) > .cu-sticky-nav { order: 1; }
  #wrapwrap #wrap.cu-parasols:has(> #bahama-range) > #bahama-range { order: 2; }
}

/* Porsche corners: elements still square after porsche-sitewide.js (scan of 30 Canvas USA(R) pages at 1440 and 375,
   Nov 22 2026). Explicit selectors only. Porsche tokens: 8 small, 12 control, 16 small box, 24 panel, 32 large media,
   pill for icon buttons. The stacked swatch book, logos and full-width bars stay square on purpose. */
#wrapwrap .cv2-search .input-group > input.search-query { border-radius: 12px 0 0 12px !important; }
#wrapwrap .cv2-search .input-group > button:last-of-type { border-radius: 0 12px 12px 0 !important; }
#wrapwrap #wrap :is(.cx-li > a, .cu-aw-shapes > li, .cu-st-views, a.cu-gc-amt, a.cu-gc-button, a.fx-b, a.fx-bw, .wop-spot__in a, a.cusa-hero2__btn) { border-radius: 12px !important; }
#wrapwrap #wrap :is(.cu-as2-chips > button, button.st, .cu-aw-chips > li > i, label.css_attribute_preview_thumbnail, .mk-tile figcaption) { border-radius: 8px !important; }
#wrapwrap #wrap :is(.cusa-dave2__msg) { border-radius: 16px !important; overflow: hidden; }
#wrapwrap #wrap :is(.bcq-gate, .cusa-panel-gallery, .cusa-fy-img) { border-radius: 24px !important; overflow: hidden; }
#wrapwrap #wrap :is(.cu-cslides, .cu-ba-frame, .cu-vid-frame) { border-radius: 32px !important; overflow: hidden; }
#wrapwrap #wrap :is(span.cq-num, div.fxs-n, div.fx-plus, span.cu-ba-knob, span.cu-vid-ico, .csr-knob, .cu-cs-dots, .cu-acc-plus, .cusa-panel-plus, .cplus, .cusa-chipq, .cusa-testi .cbtn) { border-radius: 9999px !important; }
#wrapwrap .o_wsale_filmstrip_item { border-radius: 24px !important; overflow: hidden; }
#wrapwrap .o_wsale_filmstrip_item .o_wsale_filmstrip_image { border-radius: 0 !important; }
@media (max-width: 767px) {
  #wrapwrap #wrap :is(.cu-cslides, .cu-ba-frame, .cu-vid-frame) { border-radius: 24px !important; }
}

/* Photo galleries on phones (Chase, Nov 22 2026: "fix the photo galleries cropping on mobile"). The accordion
   squeezed closed panels to 76px strips with object-fit: cover, cutting off parasols and boats. Phones now stack
   every photo at its own shape (never cropped), each its own 24px card with the caption on Porsche's fade.
   Desktop keeps the accordion. (Republished 10:15 Nov 22 to refresh a stale template cache.) */
@media (max-width: 767px) {
  #wrapwrap #wrap .cu-acc.cu-acc {
    display: flex !important; flex-direction: column !important; gap: 16px !important;
    height: auto !important; max-height: none !important; border-radius: 0 !important; overflow: visible !important;
  }
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item {
    position: relative !important; flex: none !important; height: auto !important; min-height: 0 !important; max-height: none !important;
    width: 100% !important; border-radius: 24px !important; overflow: hidden !important; cursor: default;
  }
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > img {
    position: static !important; display: block !important; width: 100% !important; height: auto !important;
    max-height: none !important; object-fit: contain !important; transform: none !important; border-radius: 0 !important;
  }
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-cap {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    height: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
    padding: 56px 20px 18px !important; color: #fff !important;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .22) 29%, rgba(0, 0, 0, .52) 47.1%, rgba(0, 0, 0, .73) 64.7%, rgba(0, 0, 0, .8)) !important;
  }
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-cap * { color: #fff !important; }
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-plus { display: none !important; }
}

/* Porsche corners, second scan (Nov 22 2026, 16 Canvas USA(R) pages at 1440 and 375 after sitewide v3).
   Header rules carry html.cusa-v2 header#top to outrank the header-vision2 square rules. */
html.cusa-v2 #wrapwrap header#top .cv2-search .input-group > input.search-query { border-radius: 12px 0 0 12px !important; }
html.cusa-v2 #wrapwrap header#top .cv2-search .input-group > button:last-of-type { border-radius: 0 12px 12px 0 !important; }
html.cusa-v2 #wrapwrap header#top .cv2mb-chips a { border-radius: 12px !important; }
#wrapwrap #wrap :is(.cu-st-lays button, .cu-st-models button, .cu-st-views button, .cu-as-seg, a.sh-button, .cu-section input[type="number"], .cu-section input[type="text"], .cu-section input:not([type])) { border-radius: 12px !important; }
#wrapwrap #wrap :is(.cu-as-seg > button, a.page-link, .hcmp-tag) { border-radius: 8px !important; }
#wrapwrap #wrap :is(button.cu-index-chip, .cu-one-badge, .fgal-btn, .hcmp-knob) { border-radius: 9999px !important; }
#wrapwrap #wrap :is(.cu-one-grid figure) { border-radius: 16px !important; overflow: hidden; }
#wrapwrap #wrap :is(.cu-itb figure, .cu-zoomable:has(> img):not(.cu-sys-img):not(.cusa-gallery-panel), .u-prtile, .cusa-fy-card) { border-radius: 24px !important; overflow: hidden; }
#wrapwrap #wrap :is(.cu-itb figure, .cu-zoomable:not(.cu-sys-img):not(.cusa-gallery-panel)) > img { border-radius: 0 !important; }
@media (min-width: 768px) {
  #wrapwrap #wrap :is(.cu-one-hero, section.cu-ih-close) { border-radius: 32px !important; overflow: hidden; }
}

/* Gallery captions at every width (Chase, Nov 22 2026: "did you fix that dark text on the images"). On desktop the
   expanded panel's white caption sat straight on bright photos with no fade. Porsche's eased fade under it. */
#wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-cap {
  left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
  padding: 72px 28px 24px !important; text-shadow: none !important;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .05) 15.5%, rgba(0, 0, 0, .22) 29%, rgba(0, 0, 0, .44) 41.2%, rgba(0, 0, 0, .6) 52.9%, rgba(0, 0, 0, .73) 64.7%, rgba(0, 0, 0, .8) 77.5%, rgba(0, 0, 0, .8)) !important;
}
#wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-cap * { color: #fff !important; }
@media (max-width: 767px) {
  #wrapwrap #wrap .cu-acc.cu-acc > .cu-acc-item > .cu-acc-cap { padding: 56px 20px 18px !important; }
}

/* Phone menu (QA Nov 22): the drawer's Previous / Next pager shows two greyed-out buttons on every menu level when
   there is nothing to page. Hide it until one of them is usable. */
#wrapwrap .nf-mobile-pager:has(.nf-mobile-prev:disabled):has(.nf-mobile-next:disabled),
.nf-mobile .nf-mobile-pager:has(.nf-mobile-prev:disabled):has(.nf-mobile-next:disabled) { display: none !important; }

/* Owner, Nov 22 2026 (Size Studio screenshot): "elements like this should not be round". Rounded corners are for
   photos, photo cards, buttons, form fields and chips. Information panels stay square: stats, facts, notes,
   drawings, plans, tables, indexes and rails. Overrides the earlier explicit rules for these panels. */
#wrapwrap #wrap :is(.cu-st-stats, .cu-st-stats > div, .cu-one-facts, .cu-one-facts > div, .cu-as-stats, .cu-as-stats > div,
  .cu-mfacts, .cu-mfacts > div, .cu-four, .cu-four > div, .cu-more, .cu-more > div, .cu-st-cap, .cu-st-plan, .cu-dp-plan,
  .cu-st-stage, .cu-dp-stage, .hcmp-stage, .csr-stage, .cu-wind-grid, .cu-wind-grid > *, .cu-as2-views, .cu-as2-views figure,
  .cu-as2-draw, .cu-as2-scene, .cu-bx-tablewrap, .cq-nav, aside.cu-index, aside.cu-rail, .wop-band__panel, .tp-fig,
  .cu-st-views, .cu-aw-shapes > li, .cu-one-product) {
  border-radius: 0 !important;
}

/* Resorts and Hotels section slideshows (phone check Nov 22): the 24/32px radius sits on .cu-cslides, but the photo
   is inset inside it, so the corners never showed. Round the photos themselves (photos are allowed to be round). */
#wrapwrap #wrap .cu-cslides.cu-cslides .cu-cs-track.cu-cs-track img { border-radius: 24px !important; }

/* Resorts and Hotels section galleries (Chase, Nov 22 2026: "Resize per photo"). The frame was a fixed 3:2 box with
   object-fit: contain, so 16:9 and 4:3 photos sat on empty bands (never letterbox). Each photo now keeps its own
   shape at full width, nothing is cropped, and porsche-slideshow.js sizes the frame to the photo on show. */
#wrapwrap #wrap .cu-cslides.cu-cslides { height: auto !important; aspect-ratio: auto !important; }
#wrapwrap #wrap .cu-cslides.cu-cslides .cu-cs-track.cu-cs-track { height: auto; align-items: flex-start !important; transition: height .3s ease; }
#wrapwrap #wrap .cu-cslides.cu-cslides .cu-cs-slide.cu-cs-slide { height: auto !important; aspect-ratio: auto !important; }
#wrapwrap #wrap .cu-cslides.cu-cslides .cu-cs-slide.cu-cs-slide img {
  width: 100% !important; height: auto !important; max-height: none !important;
  object-fit: cover !important; display: block;
}
/* No aspect-ratio override on the photos: the browser reserves each photo's shape from its width/height attributes
   before it loads. "aspect-ratio: auto" discarded that, so a gallery sat at 1 px until its photo arrived and the page
   below jumped (phone check, Nov 22). */
@media (prefers-reduced-motion: reduce) {
  #wrapwrap #wrap .cu-cslides.cu-cslides .cu-cs-track.cu-cs-track { transition: none; }
}

/* Page check, Nov 22: the boat-cover quote form panel is an information panel, square. */
#wrapwrap #wrap .bcq-gate.bcq-gate { border-radius: 0 !important; }

/* Bimini T gallery on phones (fork QA, Nov 22): built as .cusa-panel-row.cusa-panel-gallery (no .cu-acc), so it still
   squeezed closed panels into 76px cropped strips. Same uncropped stack as the other galleries. */
@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery {
    display: flex !important; flex-direction: column !important; gap: 16px !important;
    height: auto !important; max-height: none !important; border-radius: 0 !important; overflow: visible !important;
  }
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery > .cusa-gallery-panel {
    position: relative !important; flex: none !important; height: auto !important; min-height: 0 !important; max-height: none !important;
    width: 100% !important; border-radius: 24px !important; overflow: hidden !important;
  }
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery > .cusa-gallery-panel > img {
    position: static !important; display: block !important; width: 100% !important; height: auto !important;
    max-height: none !important; object-fit: contain !important; transform: none !important; border-radius: 0 !important;
  }
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery > .cusa-gallery-panel > .cusa-panel-caption {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    height: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
    padding: 56px 20px 18px !important; color: #fff !important;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .22) 29%, rgba(0, 0, 0, .52) 47.1%, rgba(0, 0, 0, .73) 64.7%, rgba(0, 0, 0, .8)) !important;
  }
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery > .cusa-gallery-panel > .cusa-panel-caption * { color: #fff !important; }
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery > .cusa-gallery-panel > .cusa-panel-plus { display: none !important; }
}
@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-panel-row.cusa-panel-gallery { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; }
}

/* Canvas USA product pages, phone check (Nov 22 2026). */
/* Text under 12px: the Bimini T configurator labels and the Item # label. */
@media (max-width: 767px) {
  #wrapwrap #wrap :is(.cusa-fab-lbl, .cusa-boat-f > span, .cusa-dd-val, .cusa_ref_k) { font-size: 12px !important; }
}
/* Price-extra tags on variant options (e.g. "+ $100.00") are chips: round them. */
#wrapwrap #wrap :is(.variant_attribute, .js_add_cart_variants, .o_wsale_product_attribute) .badge { border-radius: 9999px !important; padding: 2px 8px !important; }
/* Item # label: no navy UI backgrounds (brand rule). Light PAC Blue glass label instead. */
#wrapwrap #wrap .cusa_ref_k.cusa_ref_k { background: rgba(4, 88, 160, .08) !important; color: #0458A0 !important; }

/* Mark-It wide tile on phones (phone check Nov 22): a square 800x800 product photo was cropped into a 2:1 box.
   Phones show it square, whole; the grid rows below follow normally. */
@media (max-width: 767px) {
  #wrapwrap #wrap .mk-tile.mk-w1 { height: auto !important; aspect-ratio: 1 / 1 !important; }
  #wrapwrap #wrap .mk-tile.mk-w1 img { height: 100% !important; }
}

/* Homepage category bands on phones (Chase, Nov 22 2026: "ok do it" — art-directed phone crops, step 1).
   The tall 375x500 phone frame shows 42-56% of each landscape photo; each photo gets a focal point so the
   product or people stay in frame. Desktop untouched. Photos that cannot fit are listed in STATUS for step 2. */
@media (max-width: 767px) {
  #wrapwrap #wrap .cusa-catx__stage img[src*="navy-cabana-waterfront"] { object-position: 45% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="retractable-awning-waterfront-deck"] { object-position: 50% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="black-mesh-drop-screen-patio"] { object-position: 42% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="patio-umbrella-dining-set"] { object-position: 58% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="white-aqua-patio-cushions"] { object-position: 45% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="outdoor-furniture-covers-pool-golden"] { object-position: 60% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="striped-window-awnings-home"] { object-position: 58% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="canvas-usa-poolside-cabana"] { object-position: 55% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="gray-freeman-38-boat-cover-on-lift"] { object-position: 50% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="black-console-cover-blackjack"] { object-position: 55% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="installer-sportsman-t-top"] { object-position: 35% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="black-bimini-t-shoalwater"] { object-position: 65% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="white-captains-chairs-upholstery"] { object-position: 30% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="resorts-hotels-blue-cabana-poolside"] { object-position: 45% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="drop-screens-dune-pool-cabana"] { object-position: 48% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="navy-white-stripe-patio-cushions"] { object-position: 50% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="retractable-awning-sand-poolside"] { object-position: 60% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="patio-cushions-cushion-care"] { object-position: 40% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="stainless-bimini-top-fittings"] { object-position: 40% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="stainless-eye-end-fitting"] { object-position: 35% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="yacht-hull-wash"] { object-position: 30% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="yacht-hull-polishing"] { object-position: 25% 50% !important; }
  #wrapwrap #wrap .cusa-catx__stage img[src*="boat-care-kit"] { object-position: 45% 50% !important; }
}

/* Sitewide, both sites (Nov 22 2026): Porsche corners via porsche-sitewide.js, plus the reel rules that are pure CSS.
   No less-than or ampersand characters (stored in a QWeb arch). */
#wrapwrap { --bs-border-color: rgba(0, 0, 0, 0.12); --bs-border-color-translucent: rgba(0, 0, 0, 0.12); }
/* Full-height sections: dynamic viewport units, which do not break in Safari on iPhone */
#wrapwrap :is(.o_full_screen_height, .min-vh-100) { min-height: 100dvh !important; }
#wrapwrap .o_half_screen_height { min-height: 50dvh !important; }
/* Product shots on white: multiply so the white disappears into tinted cards */
#wrapwrap :is(.oe_product_image img, .o_wsale_product_images img, .cusa_rel_img, .hy-y-product-image img, .cusa-fy-img img) { mix-blend-mode: multiply; }
/* Swipe rows of products and categories: fade the trailing edge (the Porsche slideshow keeps its hard peek) */
#wrapwrap :is(.hy-y-track:has(> .hy-y-product), .hy-y-track:has(> .hy-y-category), .hy-dept-track, .cusa-fy-grid) {
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
/* Search drop-down (QA Nov 22): sits inside the search form, which porsche-sitewide.js skips, so it stayed square */
#wrapwrap .cusa-ss-panel.cusa-ss-panel { border-radius: 24px !important; }
#wrapwrap .cusa-ss-panel .cusa-ss-card { border-radius: 16px !important; overflow: hidden !important; }
#wrapwrap .cusa-ss-panel .cusa-ss-chip { border-radius: 9999px !important; }

/* Reel rules, both sites (Chase, Nov 22 2026: "implement all of it on both sites").
   Source reels: Charles Liu design rules; Memorisely left-aligned body text. reel-rules.js does the parts that need
   measuring (alpha borders, scroll-aware carousel fade, icon-swap blur, icon stroke, dark-surface depth).
   No less-than or ampersand characters (stored in a QWeb arch). */

/* Full-height sections: 100dvh instead of 100vh, which jumps in Safari on iPhone */
@supports (height: 100dvh) {
  #wrapwrap #wrap .cusa-catx.cusa-catx { min-height: 100dvh !important; }
  #wrapwrap #wrap.cu-cushions #canvas-colors .cu-index.cu-index { max-height: calc(100dvh - var(--cu-sticky-top, 0px) - 96px) !important; }
  html #wrapwrap .cusa-mega .cusa-mega-wrap.cusa-mega-wrap,
  html #wrapwrap .cusa-mega .cusa-rail.cusa-rail { max-height: calc(100dvh - 214px) !important; }
  html.cusa-v2 #wrapwrap header#top .o_mega_menu.cv2m-host.cv2m-host { max-height: calc(100dvh - 185px) !important; }
}

/* Carousels: fade the edges. reel-rules.js sets data-cusa-fade from the scroll position so the first card is not
   faded before the row moves: start = right edge only, mid = both edges (the reel's mask), end = left edge only.
   The Porsche slideshow keeps its hard peek and is not included. */
#wrapwrap #wrap [data-cusa-fade][data-cusa-fade="start"] {
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent) !important;
  mask-image: linear-gradient(90deg, #000 85%, transparent) !important;
}
#wrapwrap #wrap [data-cusa-fade][data-cusa-fade="mid"] {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent) !important;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent) !important;
}
#wrapwrap #wrap [data-cusa-fade][data-cusa-fade="end"] {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%) !important;
  mask-image: linear-gradient(90deg, transparent, #000 15%) !important;
}
#wrapwrap #wrap [data-cusa-fade][data-cusa-fade="none"] { -webkit-mask-image: none !important; mask-image: none !important; }

/* Icon swaps: the outgoing icon blurs as it fades, then the new one comes in sharp */
@keyframes cusa-iconswap {
  0% { filter: blur(0); opacity: 1; }
  45% { filter: blur(4px); opacity: 0; }
  100% { filter: blur(0); opacity: 1; }
}
#wrapwrap .cusa-iconswap { animation: cusa-iconswap .32s ease both; }
@media (prefers-reduced-motion: reduce) {
  #wrapwrap .cusa-iconswap { animation: none; }
}

/* Gradients: interpolate in OKLCH so colour-to-colour fades do not go grey in the middle. No multi-colour brand
   gradients exist today (all fades run to black or transparent); this utility is for the next one. */
#wrapwrap .cusa-grad-oklch { background-image: linear-gradient(90deg in oklch, var(--cusa-grad-a, #0458A0), var(--cusa-grad-b, #0F1F3D)); }

/* Product pages, related products row (Chase, Nov 22 2026: "fix both on the product pages"). The row was a flex line
   [prev][track][next]; once the track ran to the window edge the next button sat on the first card. Porsche layout:
   arrows above on the right, the track full width under them (porsche-sitewide.js then bleeds it to the edge). */
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap {
  display: grid !important; grid-template-columns: 1fr auto auto; grid-template-areas: ". prev next" "track track track";
  column-gap: 4px; row-gap: 36px; align-items: center;
}
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_prev { grid-area: prev; }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_next { grid-area: next; }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_track { grid-area: track; width: auto !important; min-width: 0 !important; max-width: none !important; }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_nav,
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next) {
  position: relative; width: 40px !important; height: 40px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 6px !important; background: transparent !important; box-shadow: none !important; opacity: 1 !important;
  color: #010205 !important; font-size: 0 !important; line-height: 0 !important; display: inline-flex !important;
  align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s ease;
}
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_nav::before,
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next)::before {
  content: ""; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--cusa-arrow) center / contain no-repeat; mask: var(--cusa-arrow) center / contain no-repeat;
}
#wrapwrap :is(.cusa_rel_wrap > .cusa_rel_next, #o-carousel-product .carousel-control-next) { --cusa-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
#wrapwrap :is(.cusa_rel_wrap > .cusa_rel_prev, #o-carousel-product .carousel-control-prev) { --cusa-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4.5M10.5 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_nav:hover { background: rgba(148, 149, 152, .18) !important; }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_nav:disabled { color: rgba(36, 36, 40, .5) !important; background: transparent !important; cursor: default; }
#wrapwrap .cusa_rel_wrap.cusa_rel_wrap > .cusa_rel_nav:focus-visible,
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next):focus-visible { outline: 2px solid #0458A0 !important; outline-offset: 2px; }

/* Product photo gallery: Porsche controls instead of Odoo's stock ones. Arrows sit inside the photo on a light round
   backing so they read on any shot; plain indicator dots become 8x8 grey, active 20x8 dash. Thumbnail indicators
   (desktop) keep their photos. */
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next) {
  position: absolute !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%);
  border-radius: 9999px !important; background: rgba(255, 255, 255, .86) !important; z-index: 3;
}
#wrapwrap #o-carousel-product.carousel .carousel-control-prev { left: 12px !important; right: auto !important; }
#wrapwrap #o-carousel-product.carousel .carousel-control-next { right: 12px !important; left: auto !important; }
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next) > * { display: none !important; }
#wrapwrap #o-carousel-product.carousel :is(.carousel-control-prev, .carousel-control-next):hover { background: #fff !important; }
#wrapwrap #o-carousel-product .carousel-indicators { gap: 8px !important; align-items: center !important; justify-content: center !important; margin-top: 16px !important; }
/* Below 992px Odoo hides the thumbnails inside each indicator and shows a bordered 8px dot; restyle those dots.
   Desktop keeps the thumbnail strip. */
@media (max-width: 991.98px) {
  #wrapwrap #o-carousel-product.carousel .carousel-indicators > li {
    width: 8px !important; height: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
    border-radius: 9999px !important; background: rgba(17, 17, 19, .6) !important; opacity: 1 !important;
    overflow: hidden; flex: 0 0 auto; transition: width .25s ease, background-color .25s ease; cursor: pointer;
  }
  #wrapwrap #o-carousel-product.carousel .carousel-indicators > li > * { display: none !important; }
  #wrapwrap #o-carousel-product.carousel .carousel-indicators > li.active { width: 20px !important; background: #010205 !important; }
}
@media (max-width: 767px) {
  #wrapwrap .cusa_rel_wrap.cusa_rel_wrap { row-gap: 24px; }
}

/* "Complete Your Purchase" add-on cards: the SELECT label acts as a button, so it takes the 12px button corner. */
#wrapwrap .cusa_bw_card .cusa_bw_sel.cusa_bw_sel { border-radius: 12px !important; }
/* Disabled add-all button (nothing picked yet): dimmed, not clickable. */
#wrapwrap #cusa_cp_add.cusa_cp_btn:disabled { opacity: .45 !important; cursor: not-allowed !important; pointer-events: none; }

/* CORNER LAW, both sites (Chase, Nov 28 2026). Porsche's fixed scale: 0 2 4 6 8 12 16 24 32 and pill. Rounded: photos,
   photo cards, buttons, form fields, chips. Square: full-width bands and heroes, logos, header/footer/menus, text,
   facts, stats, notes, drawings, plans, tables, accordions. porsche-sitewide.js enforces the scale, edge-to-edge
   and logo parts at runtime; this file fixes what CSS must fix (pseudo-elements, variables, nested cards).
   Found by the live audit of both sites at desktop and phone width, Nov 28 2026 (work/corner-law-20261128). */

/* Facts are information: the grey spec tags on the awning, pergola and parasol pages (12px in the page views). */
/* :not(#cl-*) adds id weight without narrowing the match: the awning page sets these at (3,3,1) with !important. */
#wrapwrap #wrap .bh-facts.bh-facts.bh-facts.bh-facts span:not(#cl-a):not(#cl-b) { border-radius: 0 !important; }

/* Porsche's scale does not change on phones. The collection pages drop --bh-round to 20px under 700px; keep 24px. */
@media (max-width: 700px) {
  #wrapwrap #wrap.cu-parasols, #wrapwrap #wrap.cu-parasols * { --bh-round: 24px !important; }
}
#wrapwrap #wrap .bh-model-grid.bh-model-grid article:not(#cl-a):not(#cl-b)::before { border-radius: 24px !important; }

/* Product cards: the photo area sat at 32px inside a 24px card, so its corners poked past the card's curve.
   Inside a card the photo takes the card's own radius. */
#wrapwrap .oe_product_cart.oe_product_cart .oe_product_image.oe_product_image:not(#cl-a):not(#cl-b):not(#cl-c) { border-radius: 24px !important; }
