/* Compatibility repairs; retain the existing Nautica visual design. */
.header { isolation: isolate; background-color: #153d61; background-position: center; }
.header-video { z-index: 0; }
.header > .container { z-index: 1; }
.header-link { margin-left: 20px; font-size: 15px; white-space: nowrap; }
.header-left .custom-logo { max-width: 248px; height: auto; }
.woocommerce-page .header, .page-template-default:not(.home) .header { height: auto; min-height: 110px; background-color: #2b3050; }
.nautica-shop { min-height: 240px; }
.nautica-shop h1, .nautica-page h1 { font-size: 32px; line-height: 1.3; margin-bottom: 24px; }
.nautica-shop h2, .nautica-page h2 { font-size: 24px; line-height: 1.4; margin-bottom: 16px; }
.nautica-shop h3, .nautica-page h3 { font-size: 20px; line-height: 1.4; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { background: #2b3050; color: #fff; }
.nautica-page .woocommerce-MyAccount-navigation a { color: #245b8d; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #387bc6; outline-offset: 3px; }
@media (max-width: 1200px) { .header-links { display: none; } }
@media (max-width: 920px) {
  .sidemenu { top: 100px; max-height: calc(100dvh - 140px); overflow-y: auto; max-width: calc(100vw - 36px); }
  .header-left .custom-logo { max-width: 200px; height: auto; }
  .nautica-shop h1, .nautica-page h1 { font-size: 28px; }
}

.error404 .header, .archive:not(.woocommerce-page) .header, .search .header,
.page-template-Services-php .header, .page-template-Catalog-php .header,
.page-template-Promo-php .header { height: auto; min-height: 110px; background-color: #2b3050; }
.nautica-service-list li, .nautica-catalog-list li { margin-bottom: 16px; line-height: 1.7; }
.nautica-catalog-list a, .nautica-page article a { color: #245b8d; text-decoration: underline; }
.inform-right .contact-inputs { display: flex; flex-direction: column; gap: 16px; }
.inform-right .contact-input { width: 100%; }
.contact-inputs textarea { min-height: 120px; resize: vertical; }
.contact-check .wpcf7-acceptance .wpcf7-list-item { margin-left: 0; }

.contact-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-inputs > p { display: contents; }
.contact-inputs br { display: none; }
.contact-inputs .wpcf7-form-control-wrap { display: block; min-width: 0; }
.contact-inputs .contact-input { width: 100%; max-width: 100%; margin: 0; }
.inform-right .contact-inputs { display: grid; grid-template-columns: 1fr; }
@media (max-width: 920px) {
 .contact-inputs { grid-template-columns: 1fr; }
 .inform-form { padding: 28px 20px; }
}
/* Keep open menus above following page sections and the mobile admin toolbar aligned. */
.header { z-index: 20; }
body.admin-bar #wpadminbar { position: fixed; top: 0; }
@media (max-width: 920px) {
 .sidemenu { width: calc(100vw - 36px); }
 .sidemenu .dropdown-content { position: static; min-width: 0; max-width: 100%; max-height: none; overflow: visible; padding-left: 12px; }
}

.gallery-pages .page-numbers { margin: 0 12px; }
.gallery-pages .current { font-weight: 700; text-decoration: underline; }
.home .header { background-image: url('../images/bg.jpg'); }
.part-box-img { max-width: 100%; }
.footer-arrow { right: 16px; }
