* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: rgb(22, 28, 31);
    color: rgb(173, 173, 173);
    text-align: center;
}

/* #region Header */

.site-header {
    width: 100%;
    height: clamp(100px, 12vw, 200px);
    background: #030817;
}

.header-inner {
    width: 100%;
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 50px);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    justify-self: start;
}

.logo img {
    height: clamp(70px, 10vw, 200px);
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 90px);
}

.nav-short {
    gap: clamp(40px, 5vw, 80px);
    transform: translateX(-80px);
}

.nav-home-only {
    justify-self: center;
    gap: 0;
}

.nav a,
.nav-home-only .home-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(16px, 1.6vw, 26px);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav-home-only .home-link:hover {
    color: #3ddc84;
}

.home-link {
    display: flex;
    align-items: center;
}

.home-link svg {
    display: block;
}

.nav-home-only svg {
    width: 34px;
    height: 34px;
}

/* #endregion */


/* #region Hero */

.hero {
    padding: 40px 20px 20px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 42px);
    color: #ffffff;
}

.hero p {
    color: #aaa;
}

/* #endregion */


/* #region Filter */

.filter-section {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px auto 10px;
    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: #1b1b24;
    border: 1px solid #343442;
    border-radius: 10px;
}

.filter-btn {
    flex: 1;
    padding: 12px 18px;

    border: none;
    border-radius: 7px;
    background: transparent;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    transition: 0.25s;
}

.filter-btn:hover {
    background: #2a2a36;
}

.filter-btn.active {
    background: #e91655;
    color: #ffffff;
}

/* #endregion */


/* #region Watch Cards */

.watch-grid {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 34px 24px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}

.watch-card {
    width: 280px;
    flex: 0 0 280px;

    display: flex;
    flex-direction: column;

    background: #111418;
    border: 1px solid #252a31;
    border-radius: 22px;
    padding: 14px 14px 18px;

    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

.watch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
    border-color: #3ddc84;
}

.watch-preview-area {
    position: relative;
    width: 100%;
    height: 320px;
    flex: 0 0 320px;
}

.watch-detail-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.watch-image-wrap {
    position: relative;

    width: 100%;
    height: 100%;

    display: block;

    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 18px;
}

.watch-image-wrap img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;

    transition: opacity 0.2s ease, transform 0.25s ease;
}

.watch-detail-link:hover img {
    transform: scale(1.03);
}

.watch-card h2 {
    height: 42px;
    min-height: 42px;

    margin: 0 0 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    text-align: center;

    overflow: hidden;
}

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: center;
    margin-top: auto;

    padding: 9px 16px;
    background: #3ddc84;
    color: #000000;

    text-decoration: none;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.play-button:hover {
    background: #64e89d;
}

.watch-dots {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 8px;

    z-index: 5;
}

.watch-dot {
    width: 10px;
    height: 10px;

    display: block;
    border: none;
    border-radius: 50%;
    background: #5a5f68;

    padding: 0;
    margin: 0;

    cursor: pointer;
    appearance: none;
}

.watch-dot:hover {
    background: #ffffff;
}

.watch-dot.active {
    background: #3ddc84;
    box-shadow: 0 0 10px rgba(61, 220, 132, 0.65);
}

/* #endregion */


/* #region Page Content */

.page-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;

    text-align: left;
    line-height: 1.7;
    color: #d0d0d0;
}

.page-content h1 {
    color: #ffffff;
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 30px;

    text-align: center;
    text-transform: none;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: normal;
}

.page-content h2 {
    color: #ffffff;
    font-size: 26px;
    margin-top: 44px;
    margin-bottom: 18px;

    text-align: left;
}

.page-content p {
    font-size: 18px;
    margin-bottom: 18px;
    text-align: left;
}

.page-content a {
    color: #3ddc84;
}

.page-content ul,
.page-content ol {
    margin: 18px 0 24px;
    padding-left: 28px;

    text-align: left;
}

.page-content li {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.55;
    text-align: left;
}

.install-lead,
.customization-lead,
.bogo-lead {
    max-width: 760px;
    margin: 0 auto 20px;
    text-align: center;
}

.install-block,
.customization-block {
    max-width: 900px;
    margin: 44px auto 0;
}

.install-image,
.customization-image {
    display: block;
    width: 100%;
    height: auto;

    margin: 28px auto;
    border-radius: 18px;
}

.install-image {
    max-width: 320px;
}

.customization-image {
    max-width: 820px;
}

.install-note,
.customization-note,
.promo-note {
    padding: 22px 26px;
    background: #201919;
    border-radius: 18px;
}

.under-development {
    text-align: center;
}

.under-development p {
    font-size: 20px;
    text-align: center;
}

/* #endregion */


/* #region BOGO */

.bogo-page {
    text-align: left;
}

.bogo-steps {
    padding-left: 28px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.bogo-steps li {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* #endregion */


/* #region Contacts */

.contacts-page,
.contacts-page h1,
.contacts-page p {
    text-align: center;
}

.contact-list {
    max-width: 600px;
    margin: 40px auto 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    padding: 22px 26px;
    background: #201919;
    border-radius: 18px;

    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.contact-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.contact-value {
    color: #3ddc84;
    font-size: 18px;
    overflow-wrap: anywhere;
}

/* #endregion */


/* #region Watch Detail Page */

.detail-top-header {
    width: 100%;
    background: #030817;
    padding: 28px 20px;
}

.detail-top-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.detail-logo {
    justify-self: start;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.detail-logo img {
    height: 76px;
    width: auto;
    display: block;
}

.back-button {
    justify-self: center;

    padding: 10px 18px;

    border: 1px solid #343442;
    border-radius: 999px;
    background: #111418;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.25s ease;
}

.back-button:hover {
    color: #000000;
    background: #3ddc84;
    border-color: #3ddc84;
}

.detail-contact-button {
    justify-self: end;

    color: #ffffff;
    text-decoration: none;

    font-size: 20px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.detail-contact-button:hover {
    color: #3ddc84;
}

.watch-detail-page {
    max-width: 1280px;
}

.detail-lead {
    max-width: 760px;
    margin: 0 auto 26px;

    text-align: center;
    font-size: 20px;
    color: #d0d0d0;
}

.detail-buy-row {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

.page-content .buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;
    background: #3ddc84;
    color: #000000;

    text-decoration: none;
    border-radius: 999px;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;

    transition: 0.25s ease;
}

.page-content .buy-button:hover {
    background: #64e89d;
    color: #000000;
}

.detail-section {
    margin-top: 54px;
}

.detail-section > p,
.detail-section > ul,
.detail-section > ol {
    max-width: 900px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    max-width: 1280px;
    margin: 24px auto 0;
}

.detail-gallery img {
    width: 100%;
    height: auto;

    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.bottom-buy {
    margin-top: 54px;
}

/* #endregion */


/* #region Footer */

footer {
    padding: 30px;
    color: #777;
}

footer a {
    color: #aaa;
    margin: 0 10px;
}

/* #endregion */

/* #region Mobile */

@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 18px 0;
    }

    .header-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 16px;
        padding: 0 12px;
    }

    .logo img {
        height: 100px;
    }

    .nav {
        width: 100%;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        gap: 14px 20px;
    }

    .nav-short {
        transform: none;
        gap: 14px 20px;
    }

    .nav a {
        font-size: 14px;
        white-space: nowrap;
    }

    .home-link svg {
        width: 24px;
        height: 24px;
    }

    .nav-home-only svg {
        width: 28px;
        height: 28px;
    }

    .hero {
        padding: 34px 16px 18px;
    }

    .filter-section {
        width: calc(100% - 24px);
        flex-wrap: wrap;
    }

    .filter-btn {
        flex: 1 1 40%;
        font-size: 14px;
        padding: 10px 12px;
    }

    /* Watch cards mobile */

    .watch-grid {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 16px;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .watch-card {
    width: 100%;
    min-width: 0;
    height: 240px;

    display: flex;
    flex-direction: column;

    padding: 10px 8px 12px;
    border-radius: 16px;
}

.watch-preview-area {
    height: 135px;
    flex: 0 0 135px;
}

.watch-image-wrap {
    height: 100%;
    margin-bottom: 0;
    border-radius: 14px;
}

.watch-image-wrap img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    object-fit: contain;
}

.watch-card h2 {
    height: 34px;
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 10px 0 10px;

    font-size: 13px;
    line-height: 1.2;
    text-align: center;

    overflow: hidden;
}

.play-button {
    align-self: center;
    margin-top: auto;

    padding: 7px 10px;
    font-size: 12px;
}

    .watch-dots {
        left: 6px;
        gap: 6px;
    }

    .watch-dot {
        width: 8px;
        height: 8px;
    }

    /* Text pages mobile */

    .page-content {
        margin: 40px auto;
        padding: 0 20px;
    }

    .page-content h1 {
        text-align: center;
    }

    .page-content h2 {
        font-size: 24px;
        text-align: left;
    }

    .page-content p,
    .page-content li {
        font-size: 16px;
    }

    .page-content ul,
    .page-content ol {
        padding-left: 24px;
        margin-left: 0;
    }

    .install-image {
        max-width: 280px;
    }

    .customization-image {
        max-width: 100%;
    }

    /* Contacts mobile */

    .contacts-page,
    .contacts-page p {
        text-align: center;
    }

    .contact-list {
        margin-top: 32px;
        gap: 14px;
    }

    .contact-item {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 19px;
    }

    .contact-value {
        font-size: 15px;
    }

    /* Detail page header mobile */

    .detail-top-header {
        padding: 20px 14px;
    }

    .detail-top-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
    }

    .detail-logo {
        justify-self: center;
    }

    .detail-logo img {
        height: 58px;
    }

    .back-button {
        justify-self: center;
        font-size: 14px;
        padding: 8px 14px;
    }

    .detail-contact-button {
        justify-self: center;
        font-size: 16px;
    }

    /* Detail page content mobile */

    .watch-detail-page {
        max-width: 100%;
    }

    .detail-lead {
        font-size: 17px;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .detail-gallery img {
        width: 100%;
        border-radius: 14px;
    }

    .buy-button {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* #endregion */
/* #region Mobile Watch Cards Final Fix */

@media (max-width: 768px) {
    .watch-grid {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 16px;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .watch-card {
        width: 100%;
        min-width: 0;
        height: 240px;

        display: flex;
        flex-direction: column;

        padding: 10px 8px 12px;
        border-radius: 16px;
    }

    .watch-preview-area {
        position: relative;
        width: 100%;
        height: 135px;
        flex: 0 0 135px;
    }

    .watch-detail-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .watch-image-wrap {
        position: relative;

        width: 100%;
        height: 135px;

        display: block;

        margin: 0;
        overflow: hidden;
        border-radius: 14px;
    }

    .watch-image-wrap img {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        object-fit: contain;
        object-position: center center;

        display: block;
    }

    .watch-card h2 {
        height: 34px;
        min-height: 34px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 10px 0 10px;

        font-size: 13px;
        line-height: 1.2;
        text-align: center;

        overflow: hidden;
    }

    .play-button {
        align-self: center;
        margin-top: auto;

        padding: 7px 10px;
        font-size: 12px;
    }

    .watch-dots {
        left: 6px;
        gap: 6px;
    }

    .watch-dot {
        width: 8px;
        height: 8px;
    }
        .watch-card:hover {
        transform: none;
        box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    }

    .watch-detail-link:hover img {
        transform: none;
    }
}

/* #endregion */