@font-face {
    font-family: "AlsafaFont";
    src: url("./assets/fonts/DINNextLTArabic-Regular-3.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --radius: 0.75rem;

    /* =========================================================
       Alsafa Pure Brand Colors
       ========================================================= */

    --background: #123d5b;
    --foreground: #f5fbff;

    --card: #1f5b78;

    --primary: #19bce5;
    --primary-foreground: #06243d;

    --secondary: #1d5878;

    --muted-foreground: #d4eaf4;

    --accent: #52ccf0;

    --border: rgba(223, 242, 253, 0.26);

    /* Main page background - LIGHTER */
    --gradient-deep: linear-gradient(
        180deg,
        #10466a 0%,
        #176181 45%,
        #12516f 100%
    );

    /* Brand aqua gradient */
    --gradient-aqua: linear-gradient(
        120deg,
        #19bce5 0%,
        #52ccf0 100%
    );

    --shadow-card:
        0 18px 50px -22px rgba(3, 25, 50, 0.55);

    --font-display: "AlsafaFont", sans-serif;
    --font-body: "AlsafaFont", sans-serif;
}


/* ============================================================
   Base
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--gradient-deep);
    background-attachment: fixed;

    color: var(--foreground);

    font-family: var(--font-body);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-display);

    letter-spacing: 0;

    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    color: inherit;
}


/* ============================================================
   Containers
   ============================================================ */

.ap-container {
    max-width: 1152px;

    margin-inline: auto;

    padding-inline: 24px;
}

.ap-container--narrow {
    max-width: 880px;
}


/* ============================================================
   Glass Panels
   ============================================================ */

.glass-panel {
    background: rgba(31, 91, 120, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(223, 242, 253, 0.28);

    box-shadow:
        0 18px 50px -22px rgba(3, 25, 50, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}


/* ============================================================
   Typography
   ============================================================ */

.text-aqua-gradient {
    background: var(--gradient-aqua);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.ap-sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    white-space: nowrap;
}


/* ============================================================
   Header / Navigation
   ============================================================ */

.ap-header {
    position: fixed;

    inset-inline: 0;
    top: 0;

    z-index: 2000;
}

.ap-nav {
    position: relative;

    width: calc(100% - 32px);

    max-width: 1152px;

    margin: 16px auto 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    border-radius: 18px;

    padding: 12px 20px;

    background: rgba(8, 35, 63, 0.55);

    border: 1px solid rgba(223, 242, 253, 0.18);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ap-logo {
    font-family: var(--font-display);

    font-size: 1.55rem;
}

.ap-nav-links {
    display: none;

    align-items: center;

    gap: 32px;

    list-style: none;

    margin: 0;
    padding: 0;

    font-size: 0.875rem;

    color: var(--muted-foreground);
}

.ap-nav-links a {
    transition: color 0.25s ease;
}

.ap-nav-links a:hover {
    color: var(--accent);
}

.ap-nav-cta {
    border-radius: 12px;

    background: var(--primary);

    color: var(--primary-foreground);

    padding: 8px 14px;

    font-size: 0.875rem;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.ap-nav-cta:hover {
    transform: scale(1.05);
}


/* ============================================================
   Mobile Navigation
   ============================================================ */

.ap-nav-toggle {
    display: grid;

    place-items: center;

    gap: 5px;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    padding: 0;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: rgba(22, 74, 105, 0.7);

    cursor: pointer;

    transition: background 0.25s ease;
}

.ap-nav-toggle:hover {
    background: rgba(29, 88, 120, 0.8);
}

.ap-nav-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 2px;

    background: var(--foreground);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.ap-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ap-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ap-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   Mobile Dropdown
   ============================================================ */

.ap-mobile-menu {
    position: absolute;

    top: calc(100% + 10px);

    inset-inline: 0;

    width: 100%;

    max-height: 0;

    overflow: hidden;

    border-radius: 18px;

    background: rgba(18, 61, 91, 0.97);

    border: 1px solid transparent;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-8px);

    transition:
        max-height 0.4s ease,
        opacity 0.25s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    pointer-events: none;
}

.ap-mobile-menu.is-open {
    max-height: 500px;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    border-color: var(--border);

    pointer-events: auto;
}

.ap-mobile-links {
    list-style: none;

    margin: 0;
    padding: 12px;

    display: flex;

    flex-direction: column;

    gap: 4px;
}

.ap-mobile-links li {
    width: 100%;
}

.ap-mobile-links a {
    display: block;

    width: 100%;

    padding: 13px 16px;

    border-radius: 12px;

    font-size: 0.95rem;

    color: var(--foreground);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.ap-mobile-links a:hover,
.ap-mobile-links a:focus-visible {
    background: rgba(29, 88, 120, 0.7);

    color: var(--accent);
}


/* ============================================================
   Desktop Navigation
   ============================================================ */

@media (min-width: 768px) {

    .ap-nav-links {
        display: flex;
    }

    .ap-nav-toggle,
    .ap-mobile-menu {
        display: none !important;
    }
}


/* ============================================================
   Hero
   ============================================================ */

.hero-shell {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 100svh;

    overflow: hidden;

    padding: 80px 4% 0;

    background: radial-gradient(
        circle at center,
        var(--hero-inner) 0%,
        var(--hero-mid) 52%,
        var(--hero-outer) 100%
    );

    transition:
        background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* 250ml */

.hero-shell[data-theme="small"] {
    --hero-inner: #38bfe4;
    --hero-mid: #167b9e;
    --hero-outer: #0a3150;
}


/* 1L */

.hero-shell[data-theme="liter"] {
    --hero-inner: #35b8dd;
    --hero-mid: #176f94;
    --hero-outer: #092e4d;
}


/* 1.5L */

.hero-shell[data-theme="large"] {
    --hero-inner: #2ca9d2;
    --hero-mid: #155e84;
    --hero-outer: #082a49;
}


/* ============================================================
   Hero Layers
   ============================================================ */

.ap-layer {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

#ap-bubbles {
    z-index: 0;
}

.ap-ripples {
    z-index: 0;
}

.ap-ripple {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgb(255 255 255 / 0.15);

    animation:
        float-slow 8s ease-in-out infinite;
}


/* ============================================================
   Hero Grid
   ============================================================ */

.ap-hero-grid {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    height: 100%;

    width: 100%;
}

.ap-hero-copy {
    z-index: 100;

    display: flex;

    width: 100%;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    padding-top: 16px;

    text-align: center;
}

.ap-hero-title {
    font-size: clamp(2.75rem, 13vw, 9rem);

    line-height: 1.05;
}

.ap-hero-title span {
    display: block;
}

.ap-hero-text {
    max-width: 400px;

    font-size: 0.8rem;

    line-height: 1.8;

    color: rgba(223, 242, 253, 0.82);
}


/* ============================================================
   Hero CTA
   ============================================================ */

.ap-hero-cta {
    display: flex;

    width: fit-content;

    align-items: center;

    gap: 24px;

    border-radius: 999px;

    background: rgba(0, 0, 0, 0.5);

    padding: 6px 24px 6px 6px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.ap-hero-cta:hover {
    transform: translateY(-4px);

    background: rgba(0, 0, 0, 0.7);
}

.ap-hero-cta span {
    display: flex;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #dff2fd;

    color: #06243d;

    font-size: 1.25rem;

    font-weight: 900;

    padding-bottom: 2px;
}


/* ============================================================
   Hero Badge
   ============================================================ */

.ap-badge {
    margin-top: auto;

    display: none;

    align-items: center;

    gap: 16px;
}

.ap-badge-icon {
    display: flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    border: 1px solid rgba(223, 242, 253, 0.16);

    background: rgba(223, 242, 253, 0.07);

    font-size: 1.125rem;
}

.ap-badge-lines {
    display: flex;

    flex-direction: column;
}

.ap-badge-kicker {
    font-size: 0.7rem;

    letter-spacing: 0.1em;

    color: rgba(223, 242, 253, 0.78);
}

.ap-badge-title {
    font-size: 0.875rem;

    font-weight: 600;
}


/* ============================================================
   Bottle
   ============================================================ */

.ap-bottle-wrap {
    position: absolute;

    inset: 0;

    z-index: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.ap-bottle-float {
    animation:
        float-slow 6s ease-in-out infinite;
}

.ap-bottle-tilt {
    will-change: transform;
}

#ap-bottle-img {
    width: auto;

    height: 34vh;

    filter:
        drop-shadow(
            0 30px 60px rgba(10, 60, 140, 0.55)
        );

    transition:
        height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================================
   Drops
   ============================================================ */

.ap-drops-bg {
    z-index: 0;
}

.ap-drops-fg {
    z-index: 110;
}

.water-drop {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 32% 28%,
            rgba(255, 255, 255, 0.9) 0%,
            transparent 38%
        ),
        radial-gradient(
            circle at 65% 75%,
            rgba(120, 220, 255, 0.55) 0%,
            rgba(30, 90, 190, 0.15) 70%
        );

    border: 1px solid rgba(223, 242, 253, 0.3);

    box-shadow:
        inset 0 -10px 24px rgba(120, 220, 255, 0.35),
        0 18px 40px rgba(5, 30, 70, 0.45);

    backdrop-filter: blur(2px);

    will-change: transform;
}


/* ============================================================
   Size Selector
   ============================================================ */

.ap-sizes-col {
    z-index: 120;

    display: flex;

    width: 100%;

    flex-shrink: 0;

    flex-direction: column;

    align-items: center;

    justify-content: flex-end;

    gap: 24px;

    padding-bottom: 24px;
}

.ap-sizes {
    display: flex;

    width: 100%;

    gap: 12px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    padding: 56px 4px 8px;

    scrollbar-width: none;

    pointer-events: auto;
}

.ap-sizes::-webkit-scrollbar {
    display: none;
}

.ap-size-card {
    position: relative;

    display: flex;

    width: 98px;

    flex-shrink: 0;

    scroll-snap-align: center;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    border-radius: 24px;

    border: 1px solid rgba(223, 242, 253, 0.16);

    background: rgba(223, 242, 253, 0.06);

    padding: 12px;

    backdrop-filter: blur(12px);

    transition: all 0.5s ease;
}

.ap-size-card:hover {
    background: rgba(223, 242, 253, 0.12);
}

.ap-size-card.is-active {
    border-color: #52ccf0;
}

.ap-size-card img {
    margin-top: -48px;

    width: 64px;

    height: auto;

    transition: transform 0.5s ease;

    filter:
        drop-shadow(
            0 20px 35px rgba(0, 0, 0, 0.5)
        );
}

.ap-size-card:hover img {
    transform:
        translateY(-24px)
        rotate(-12deg)
        scale(1.1);
}

.ap-size-meta {
    display: flex;

    width: 100%;

    flex-direction: column;

    font-size: 0.65rem;
}

.ap-size-name {
    font-weight: 600;
}

.ap-size-vol {
    color: rgba(223, 242, 253, 0.82);
}


/* ============================================================
   Hero Side Title
   ============================================================ */

.ap-hero-side-title {
    display: none;

    font-family: var(--font-display);

    align-self: flex-start;

    text-align: left;

    font-size: clamp(3rem, 7vw, 7rem);

    line-height: 1.05;
}

.ap-hero-side-title span {
    display: block;
}


/* ============================================================
   Hero Desktop
   ============================================================ */

@media (min-width: 768px) {

    .ap-hero-grid {
        flex-direction: row;

        align-items: stretch;
    }

    .ap-hero-copy {
        height: 100%;

        width: auto;

        align-items: flex-start;

        gap: 32px;

        padding: 64px 0;

        text-align: right;
    }

    .ap-hero-title {
        font-size: clamp(3.5rem, 9vw, 9rem);
    }

    .ap-hero-text {
        font-size: 1rem;
    }

    .ap-badge {
        display: flex;
    }

    #ap-bottle-img {
        height: 52vh;
    }

    .ap-sizes-col {
        height: 100%;

        width: 460px;

        align-items: flex-start;

        justify-content: space-between;

        padding: 64px 0;
    }

    .ap-sizes {
        width: auto;

        gap: 16px;

        padding: 80px 4px 0;
    }

    .ap-size-card {
        width: 130px;

        gap: 24px;

        border-radius: 28px;

        padding: 16px;
    }

    .ap-size-card img {
        margin-top: -96px;

        width: 100px;
    }

    .ap-size-meta {
        font-size: 0.75rem;
    }

    .ap-hero-side-title {
        display: block;
    }
}


/* ============================================================
   Bubbles
   ============================================================ */

.bubble-img {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 255, 255, 0.85),
            rgba(160, 225, 255, 0.15) 60%,
            transparent 72%
        );

    border: 1px solid rgba(223, 242, 253, 0.3);

    pointer-events: none;
}


/* ============================================================
   Animations
   ============================================================ */

@keyframes floatUpImg {

    0% {
        transform:
            translateY(0)
            translateX(0)
            rotate(0deg);

        opacity: 0;
    }

    10% {
        opacity: 0.45;
    }

    90% {
        opacity: 0.45;
    }

    100% {
        transform:
            translateY(-110vh)
            translateX(30px)
            rotate(360deg);

        opacity: 0;
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}


/* ============================================================
   Sections
   ============================================================ */

.ap-section {
    position: relative;

    padding-block: 112px;

    background: transparent;
}

.ap-section--tight {
    padding-block: 80px;
}

.ap-section-head {
    margin-bottom: 48px;

    text-align: center;
}

.ap-kicker {
    display: inline-block;

    margin-bottom: 12px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(29, 88, 120, 0.45);

    padding: 4px 16px;

    font-size: 0.75rem;

    letter-spacing: 0.12em;

    color: var(--accent);
}

.ap-section-title {
    font-size: 1.875rem;

    line-height: 1.25;
}

@media (min-width: 768px) {

    .ap-section-title {
        font-size: 3rem;
    }
}


/* ============================================================
   Grid
   ============================================================ */

.ap-grid {
    display: grid;

    gap: 32px;
}


/* ============================================================
   Products
   Desktop + Tablet = 3
   Mobile = 1
   ============================================================ */

.ap-grid--3 {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

@media (max-width: 767px) {

    .ap-grid--3 {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   Features
   ============================================================ */

.ap-grid--4 {
    gap: 24px;
}

@media (min-width: 768px) {

    .ap-grid--4 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (min-width: 1024px) {

    .ap-grid--4 {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }
}


/* ============================================================
   Reveal
   ============================================================ */

.ap-reveal {
    opacity: 0;

    transform: translateY(48px);

    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-reveal.is-visible {
    opacity: 1;

    transform: none;
}


/* ============================================================
   Products
   ============================================================ */

.ap-product {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 24px;

    min-width: 0;

    width: 100%;

    border-radius: 26px;

    padding: 40px;

    transform-style: preserve-3d;

    perspective: 1000px;

    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-product:hover {
    transform:
        perspective(1000px)
        rotateX(-6deg)
        rotateY(8deg)
        scale(1.02);
}

.ap-product img {
    height: 250px;

    width: auto;

    animation:
        float-slow 6s ease-in-out infinite;

    filter:
        drop-shadow(
            0 25px 45px rgba(20, 80, 180, 0.45)
        );
}

.ap-product h3 {
    font-size: 1.5rem;
}

.ap-product-vol {
    margin-top: 4px;

    font-size: 0.875rem;

    color: var(--accent);
}

.ap-product-note {
    margin-top: 12px;

    font-size: 0.875rem;

    color: var(--muted-foreground);
}


/* Tablet products */

@media (min-width: 768px) and (max-width: 1023px) {

    .ap-product {
        padding: 28px 20px;
    }

    .ap-product img {
        height: 220px;
    }

    .ap-product h3 {
        font-size: 1.25rem;
    }
}


/* ============================================================
   Features
   ============================================================ */

.ap-feature {
    border-radius: 18px;

    padding: 28px;

    transition: transform 0.35s ease;
}

.ap-feature:hover {
    transform: translateY(-8px);
}

.ap-feature-icon {
    margin-bottom: 16px;

    font-size: 1.75rem;

    line-height: 1;

    color: var(--accent);
}

.ap-feature h3 {
    margin-bottom: 8px;

    font-size: 1.25rem;
}

.ap-feature p {
    font-size: 0.875rem;

    line-height: 1.8;

    color: var(--muted-foreground);
}


/* ============================================================
   Minerals Table
   ============================================================ */

.ap-table-wrap {
    overflow: hidden;

    border-radius: 26px;
}

.ap-table {
    width: 100%;

    border-collapse: collapse;

    text-align: right;

    font-size: 0.875rem;
}

.ap-table thead {
    background: rgba(29, 88, 120, 0.75);

    color: var(--accent);
}

.ap-table th {
    padding: 16px 24px;

    font-weight: 600;
}

.ap-table td {
    padding: 14px 24px;

    border-top: 1px solid var(--border);
}

.ap-table td:last-child {
    color: var(--muted-foreground);
}


/* ============================================================
   Contact
   ============================================================ */

.ap-contact {
    border-radius: 26px;

    padding: 40px;

    text-align: center;
}

.ap-contact h2 {
    font-size: 1.875rem;
}

.ap-contact-text {
    margin: 16px auto 0;

    max-width: 36rem;

    color: var(--muted-foreground);
}

.ap-phones {
    margin-top: 32px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 16px;
}

.ap-phone {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    border-radius: 12px;

    padding: 12px 24px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;

    direction: ltr;
}

.ap-phone--solid {
    background: var(--primary);

    color: var(--primary-foreground);
}

.ap-phone--solid:hover {
    transform: scale(1.05);
}

.ap-phone--ghost {
    border: 1px solid var(--border);
}

.ap-phone--ghost:hover {
    background: rgba(29, 88, 120, 0.6);
}

.ap-address {
    margin-top: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-size: 0.875rem;

    color: var(--muted-foreground);
}

@media (min-width: 768px) {

    .ap-contact {
        padding: 64px;
    }

    .ap-contact h2 {
        font-size: 2.25rem;
    }
}


/* ============================================================
   Footer
   ============================================================ */

.ap-footer {
    border-top: 1px solid var(--border);

    padding-block: 32px;

    text-align: center;

    font-size: 0.875rem;

    color: var(--muted-foreground);
}


/* ============================================================
   Footer Social Icons
   ============================================================ */

.ap-social {
    display: flex !important;

    flex-direction: row !important;

    align-items: center;

    justify-content: center;

    flex-wrap: nowrap;

    gap: 14px;

    width: fit-content;

    max-width: 100%;

    margin: 0 auto 18px;

    padding: 0;
}

.ap-social a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 44px;
    height: 44px;

    min-width: 44px;

    flex: 0 0 44px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: rgba(31, 91, 120, 0.6);

    color: var(--foreground);

    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.35s ease,
        color 0.35s ease;
}

.ap-social a:hover {
    transform:
        translateY(-4px)
        scale(1.08);

    background: var(--gradient-aqua);

    color: var(--primary-foreground);
}

.ap-social svg {
    display: block;

    width: 20px;
    height: 20px;

    max-width: 20px;
    max-height: 20px;

    flex: 0 0 20px;

    fill: currentColor;
}


/* ============================================================
   Gallery
   ============================================================ */

.ap-gallery {
    display: grid;

    gap: 18px;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
}

@media (min-width: 768px) {

    .ap-gallery {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}

.ap-gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    border: 1px solid var(--border);

    background: rgba(31, 91, 120, 0.55);

    backdrop-filter: blur(14px);

    box-shadow: var(--shadow-card);

    aspect-ratio: 4 / 5;
}

.ap-gallery-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

.ap-gallery-item:hover img {
    transform:
        scale(1.08)
        rotate(-1deg);

    filter:
        saturate(1.15)
        brightness(1.05);
}

.ap-gallery-caption {
    position: absolute;

    inset-inline: 0;

    bottom: 0;

    padding: 28px 18px 14px;

    font-family: var(--font-display);

    font-size: 0.95rem;

    background:
        linear-gradient(
            to top,
            rgba(4, 16, 38, 0.85),
            transparent
        );
}


/* ============================================================
   Accessibility / Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ap-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .ap-bottle-float,
    .ap-ripple {
        animation: none;
    }
}


/* ============================================================
   Admin Bar
   ============================================================ */

body.admin-bar .ap-header {
    top: 32px;
}


/* ============================================================
   Mobile Fine Tuning
   ============================================================ */

@media (max-width: 767px) {

    .ap-nav {
        margin-top: 12px;

        padding: 10px 12px;

        gap: 12px;
    }

    .ap-logo {
        font-size: 1.3rem;
    }

    .ap-nav-links,
    .ap-nav-cta {
        display: none !important;
    }

    .ap-nav-toggle {
        display: grid;
    }

    .ap-mobile-menu {
        display: block;
    }

    .ap-social {
        width: 100%;

        gap: 12px;

        justify-content: center;

        flex-wrap: wrap;
    }

    .ap-social a {
        width: 42px;

        height: 42px;

        min-width: 42px;

        flex-basis: 42px;
    }

    .ap-social svg {
        width: 19px;

        height: 19px;

        max-width: 19px;

        max-height: 19px;

        flex-basis: 19px;
    }

    .ap-product {
        padding: 28px 20px;
    }

    .ap-product img {
        height: 230px;
    }
}


/* ============================================================
   Desktop Safety
   ============================================================ */

@media (min-width: 768px) {

    .ap-nav-toggle {
        display: none !important;
    }

    .ap-mobile-menu {
        display: none !important;
    }
}