/* [cazrom_products_details] : phone layout.
 * Enqueued with a media attribute of (max-width: Elementor's mobile breakpoint) , so there is no
 * media query in here. */

/* room for the sticky footer */
.czp.czd { padding-bottom: 96px; }

.czp .czd-top { align-items: flex-start; }
.czp .czd-share-button span { display: none; }
.czp .czd-share-button, .czp .czd-share-button:hover, .czp .czd-share-button:focus, .czp .czd-share-button:active { width: 40px; padding: 0; justify-content: center; background: var(--czp-soft); }
.czp .czd-share-pop { position: fixed; inset: auto 14px 90px 14px; top: auto; width: auto; }

/* one column , and the name comes before the picture */
.czp .czd-main { display: flex; flex-direction: column; gap: 14px; padding-top: 0; }
.czp .czd-info { display: contents; }
.czp .czd-heading { order: 1; gap: 4px; }
/* The picture runs edge to edge of the screen , whatever padding the page around the shortcode has.
   ( A fixed negative margin only undid the catalog's own 14px and left a white strip beside the picture
   when the page added more. ) */
.czp .czd-gallery { order: 2; position: static; display: block; width: 100vw; max-width: 100vw; margin: 0 0 0 calc(50% - 50vw); }
.czp .czd-price { order: 3; }
.czp .czd-delivery { order: 4; }
.czp .czd-art { order: 5; }
.czp .czd-info > .czd-block { order: 6; }
.czp .czd-actions { order: 7; }

.czp .czd-title { font-size: 24px; }
/* the tag and category go under the rating on a phone */
.czp .czd-eyebrow { order: 3; }

.czp .czd-thumbs { display: none; }
.czp .czd-stage { border-radius: 0; }
.czp .czd-frame { max-height: 62vh; }
.czp .czd-stage .czd-nav { display: none; }
.czp .czd-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.czp .czd-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(22, 24, 29, .28); }
.czp .czd-dot.is-current { background: var(--czp-ink); }

.czp .czd-delivery { gap: 12px 16px; }
.czp .czd-delivery-item { flex: 1 1 42%; }
.czp .czd-colors { gap: 9px; }
.czp .czd-color, .czp .czd-color:hover, .czp .czd-color:focus, .czp .czd-color:active { width: 34px; height: 34px; }

/* the main button lives in the sticky footer */
.czp .czd-actions .czd-cta { display: none; }
.czp .czd-actions:empty, .czp .czd-actions:not(:has(> :not(.czd-cta))) { display: none; }
.czp .czd-sticky-footer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--czp-line);
}
.czp .czd-sticky-footer .czd-cta { width: 100%; }

.czp .czd-section { margin-top: 32px; padding-top: 24px; }
.czp .czd-about-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.czp .czd-row-nav { display: none; }
.czp .czp-related .czp-grid { grid-auto-columns: 62%; gap: 12px; }
/* in the row the cards stay upright , the catalog's side-by-side phone card would be too wide to scroll */
.czp .czp-related .czp-card { flex-direction: column; gap: 0; padding: 8px 8px 12px; }
.czp .czp-related .czp-card-media { width: auto; max-width: none; display: block; }
.czp .czp-related .czp-card-link { aspect-ratio: 1 / 1; min-height: 0; }
.czp .czp-related .czp-card-info { justify-content: flex-start; padding: 0; }
.czp .czp-related .czp-card-title { order: 0; margin: 0 2px 4px; }
.czp .czp-related .czp-swatches { margin: 8px 0 6px; height: 22px; }
.czp .czp-related .czp-swatch, .czp .czp-related .czp-swatch:hover, .czp .czp-related .czp-swatch:focus, .czp .czp-related .czp-swatch:active { width: 16px; height: 16px; }

.czp .czd-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.czp .czd-reviews-average { font-size: 36px; }

/* pricing calculator */
.czp .czd-calc-head, .czp .czd-calc-body, .czp .czd-calc-result, .czp .czd-calc-help, .czp .czd-calc-email, .czp .czd-calc-foot { padding-left: 16px; padding-right: 16px; }
.czp .czd-calc-contact { flex: 1 1 100%; }

/* the header of the design studio : the designer needs the room , so the logo is small and the labels go */
.czp .czd-studio-bar { gap: 12px; padding: 0 14px; }
.czp .czd-sh-logo img { max-height: calc(32px * var(--czd-sh-logo, 1)); max-width: calc(140px * var(--czd-sh-logo, 1)); }
.czp .czd-sh-logo span { font-size: 17px; }
.czp .czd-sh-right { gap: 16px; }
.czp .czd-sh-link .czd-sh-text { display: none; }
.czp .czd-sh-divider { height: 24px; }
.czp .czd-sh-contact svg { width: 26px; height: 26px; }
.czp .czd-sh-link svg { width: 22px; height: 22px; }
.czp .czd-sh-pop { position: fixed; top: auto; left: 10px; right: 10px; width: auto; margin-top: 8px; }
/* the two buttons : Upload Your Design stays on the page , Start Designing is in the sticky footer */
.czp .czd-actions .czd-upload { flex: 1 1 100%; width: 100%; }

/* under the designer */
.czp .czd-studio-body { height: calc(100vh - var(--czd-bar, 56px) - 40px); height: calc(100dvh - var(--czd-bar, 56px) - 40px); min-height: 320px; }
.czp .czd-studio-peek, .czp .czd-studio-peek:hover, .czp .czd-studio-peek:focus, .czp .czd-studio-peek:active { height: 40px; font-size: 13px; }
.czp .czd-studio-info { padding: 28px 16px 56px; }
.czp .czd-si-title { font-size: 24px; }
.czp .czd-si-facts { grid-template-columns: minmax(0, 1fr); }
.czp .czd-si-thumb, .czp .czd-si-thumb:hover, .czp .czd-si-thumb:focus, .czp .czd-si-thumb:active { width: 56px; height: 56px; }
.czp .czd-si-faqs { margin-top: 36px; }
.czp .czd-sizechart { padding: 0; }
.czp .czd-sizechart-dialog { width: 100%; height: 100%; max-width: none; border-radius: 0; }
/* the row follows the finger and settles on a card */
.czp .czp-related .czp-grid { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding-left: 2px; }/* on a phone the header icons stand alone , without their words : in the text color ( the cart count keeps the primary color ) */
.czp .czd-sh-contact svg, .czp .czd-sh-link svg { color: var(--e-global-color-text, var(--czp-ink)); }
