/* ITZ Shop: catalog pages. Colours and fonts follow the engitech theme of the site. */
.itz-shop-page {
    --itz-ink: #1b1d21;
    --itz-text: #5d6068;
    --itz-muted: #8a8f98;
    --itz-accent: #6ec1e4;
    --itz-accent-dark: #3a9fcb;
    --itz-bg: #f3f4f6;
    --itz-line: #e3e6ea;
    --itz-radius: 10px;
}

.itz-shop { padding: 24px 0 64px; color: var(--itz-text); }
.itz-shop h1, .itz-shop h2, .itz-shop h3,
.itz-shop-page .product h1, .itz-shop-page .product h2 { font-family: Montserrat, sans-serif; color: var(--itz-ink); }
.itz-shop h1 { font-size: 40px; line-height: 1.2; margin: 0 0 18px; }
.itz-shop h2 { font-size: 30px; line-height: 1.25; margin: 0 0 24px; }
.itz-shop h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }

/* breadcrumbs */
.itz-crumbs { font-size: 14px; margin: 0 0 24px; color: var(--itz-muted); }
.itz-crumbs a { color: var(--itz-muted); }
.itz-crumbs a:hover { color: var(--itz-accent-dark); }
.itz-crumbs span { margin: 0 8px; }
.itz-crumbs b { font-weight: 600; color: var(--itz-ink); }

/* buttons */
.itz-btn, .itz-shop-page .itz-form input[type=submit] {
    display: inline-block; padding: 13px 26px; border-radius: 6px; border: 2px solid var(--itz-accent);
    background: var(--itz-accent); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.itz-btn:hover, .itz-shop-page .itz-form input[type=submit]:hover { background: var(--itz-accent-dark); border-color: var(--itz-accent-dark); color: #fff; }
.itz-btn--ghost { background: transparent; color: var(--itz-accent-dark); }
.itz-btn--ghost:hover { background: var(--itz-accent); color: #fff; }
.itz-btn--ozon { background: #005bff; border-color: #005bff; }
.itz-btn--ozon:hover { background: #0047cc; border-color: #0047cc; }

/* hero */
.itz-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 64px; }
.itz-hero__media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--itz-radius); display: block; }
.itz-hero--plain { grid-template-columns: 1fr; margin-bottom: 32px; }
.itz-lead, .itz-lead p { font-size: 18px; line-height: 1.6; }
.itz-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.itz-kicker, .itz-card__kicker { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--itz-accent-dark); font-weight: 700; margin-bottom: 10px; }

.itz-section { margin: 0 0 72px; }
.itz-maker { margin-top: 8px; }
.itz-maker a { color: var(--itz-ink); }

/* compare and benefits */
.itz-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.itz-compare__col { padding: 28px; border-radius: var(--itz-radius); background: var(--itz-bg); }
.itz-compare__col--after { background: #e8f5fb; }
.itz-compare__col p { margin: 0; }
.itz-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.itz-benefit { border-top: 3px solid var(--itz-accent); padding-top: 18px; }
.itz-benefit p { margin: 0; font-size: 15px; }

/* cards */
.itz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.itz-card { display: flex; flex-direction: column; border: 1px solid var(--itz-line); border-radius: var(--itz-radius); overflow: hidden; background: #fff; color: var(--itz-text); text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.itz-card:hover, .itz-card--product:hover { box-shadow: 0 10px 30px rgba(20, 30, 50, .10); transform: translateY(-2px); color: var(--itz-text); }
.itz-card img, .itz-card__img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--itz-bg); }
.itz-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.itz-card__title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 19px; color: var(--itz-ink); }
a.itz-card__title:hover { color: var(--itz-accent-dark); }
.itz-card__text { font-size: 15px; line-height: 1.5; }
.itz-card__price { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 22px; color: var(--itz-ink); margin-top: auto; }
.itz-card__price .amount { color: var(--itz-ink); }
.itz-card__more { color: var(--itz-accent-dark); font-weight: 600; }
.itz-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.itz-card__actions .itz-btn { padding: 10px 16px; font-size: 15px; }
.itz-card--custom { background: var(--itz-bg); border-style: dashed; justify-content: center; }
.itz-card--custom .itz-card__body { justify-content: center; }

/* tables */
.itz-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.itz-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.itz-table th, .itz-table td { padding: 11px 14px; border-bottom: 1px solid var(--itz-line); text-align: left; vertical-align: middle; }
.itz-table th { background: var(--itz-bg); color: var(--itz-ink); font-weight: 700; white-space: nowrap; }
.itz-table code { font-size: 14px; background: none; color: var(--itz-ink); padding: 0; }
.itz-nowrap { white-space: nowrap; }
.itz-swatch { display: inline-block; width: 22px; height: 22px; border-radius: 5px; margin-right: 10px; vertical-align: middle; border: 1px solid rgba(0, 0, 0, .15); }
.itz-swatch--clear { background: linear-gradient(135deg, #fff 45%, #cfd8e0 50%, #fff 55%); }
.itz-note { font-size: 14px; color: var(--itz-muted); }
.itz-disclaimer { margin-top: 32px; }
.itz-warning { padding: 14px 18px; border-left: 4px solid #f0ad4e; background: #fff8ec; border-radius: 4px; color: var(--itz-ink); }

/* installation */
.itz-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.itz-step { position: relative; }
.itz-step__img { width: 100%; height: auto; border-radius: var(--itz-radius); display: block; margin-bottom: 14px; }
.itz-step__num { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--itz-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.itz-step p { font-size: 15px; margin: 0; }
.itz-install-info { max-width: 860px; }
.itz-install-info.has-video { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.itz-video { margin: 0; }
.itz-video video { width: 100%; max-height: 640px; border-radius: var(--itz-radius); background: #000; display: block; }
.itz-video figcaption { font-size: 14px; color: var(--itz-muted); margin-top: 8px; }

.itz-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.itz-photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; display: block; }

/* request block */
.itz-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px; border-radius: var(--itz-radius); background: var(--itz-bg); margin-top: 16px; }
.itz-request h2 { font-size: 26px; }
.itz-checks { list-style: none; padding: 0; margin: 0 0 24px; }
.itz-checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.itz-checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--itz-accent); border-bottom: 3px solid var(--itz-accent); transform: rotate(-45deg); }
.itz-checks b { color: var(--itz-ink); }
.itz-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.itz-contacts a { display: block; padding: 12px 14px; background: #fff; border-radius: 8px; color: var(--itz-ink); font-weight: 600; text-decoration: none; }
.itz-contacts a span { display: block; font-size: 12px; font-weight: 400; color: var(--itz-muted); text-transform: uppercase; letter-spacing: .06em; }
.itz-contacts a:hover { color: var(--itz-accent-dark); }
.itz-form p { margin: 0 0 12px; }
.itz-form input[type=text], .itz-form input[type=tel], .itz-form input[type=email], .itz-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--itz-line); border-radius: 6px; background: #fff; font-size: 16px; color: var(--itz-ink);
}
.itz-form textarea { height: 110px; }
.itz-form__label { font-weight: 600; color: var(--itz-ink); margin-bottom: 6px !important; }
.itz-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.itz-form .wpcf7-list-item { margin: 0; }
.itz-form__consent { font-size: 13px; line-height: 1.5; }
.itz-form__consent .wpcf7-list-item { margin-right: 4px; }

/* single product */
.itz-shop-page.single-product .content-product-wrapper { padding-top: 32px; }
.itz-shop-page .product .product_title { font-size: 30px; line-height: 1.25; }
.itz-shop-page .product .summary .price { font-family: Montserrat, sans-serif; font-size: 28px; font-weight: 700; color: var(--itz-ink); }
.itz-switch { display: inline-flex; border: 1px solid var(--itz-line); border-radius: 8px; overflow: hidden; margin: 4px 0 18px; }
.itz-switch a, .itz-switch span { padding: 9px 18px; font-weight: 600; font-size: 15px; color: var(--itz-ink); text-decoration: none; border-right: 1px solid var(--itz-line); }
.itz-switch > :last-child { border-right: 0; }
.itz-switch .is-active { background: var(--itz-accent); color: #fff; }
.itz-switch a:hover { background: var(--itz-bg); }
.itz-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0 24px; font-size: 15px; }
.itz-specs dt { color: var(--itz-muted); font-weight: 400; }
.itz-specs dd { margin: 0; color: var(--itz-ink); }
.itz-buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.itz-shop-page .woocommerce-tabs { margin-top: 48px; }
.itz-shop-page .woocommerce-tabs .panel { color: var(--itz-text); }
.itz-shop-page .woocommerce-tabs .itz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .itz-benefits, .itz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .itz-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .itz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .itz-shop h1 { font-size: 28px; }
    .itz-shop h2 { font-size: 24px; }
    .itz-hero, .itz-compare, .itz-install-info.has-video, .itz-request { grid-template-columns: 1fr; gap: 24px; }
    .itz-hero { margin-bottom: 40px; }
    .itz-hero__media { order: -1; }
    .itz-hero__media img { max-height: 360px; }
    .itz-grid { grid-template-columns: 1fr; }
    .itz-section { margin-bottom: 48px; }
    .itz-request { padding: 24px 16px; }
    .itz-contacts { grid-template-columns: 1fr; }
    .itz-shop-page .woocommerce-tabs .itz-steps { grid-template-columns: 1fr 1fr; }
}
