.anchor {
    margin-top: -100px;
}

.map {
    height: 650px;
    margin-top: 70px;
}

.map-section {
    margin-top: 70px;
}

/* Video Banner */
.video-clip {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: -1;
    margin-top: 0px;
    -webkit-transform: translate(-50%, -50%) scale(2);
    transform: translate(-50%, -50%) scale(2);
}

@media (min-width: 992px) {
    .video-clip {
        -webkit-transform: translate(-50%, -50%) scale(1.5);
        transform: translate(-50%, -50%) scale(1.5);
    }
}
/*Video Banner END*/

@media (min-width: 992px) {
    .btn--icon {
        font-size: 13px;
        padding: 12px 60px 12px 8px;
    }
    .navbar__logo img {
        max-width: 85%;
    }
    .navbar__right-phone {
        font-size: 16px;
    }
    .navbar__right {
        padding-left: 16px;
    }
    .nav__item{
        margin: 0 0 0 12px !important;
    }
    .nav__link{
        font-size: 14px !important;
    }
}

@media (min-width: 1130px) {
    .navbar__right .btn--icon {
        font-size: 16px;
        padding: 16px 80px 16px 20px;
    }
    .navbar__logo img {
        max-width: 100%;
    }

}
@media (min-width: 1200px) {
    .navbar__right .btn--icon {
        font-size: 16px;
    }
    .navbar__right-phone {
        font-size: 18px;
    }
    .navbar__right {
        padding-left: 15px;
    }
    .navbar__right-phone{
        margin-right: 10px;
    }
    .nav__item{
        margin: 0 0 0 28px !important;
    }
    .nav__link{
        font-size: 16px !important;
    }

}
@media (min-width: 1400px) {
    .nav__item{
        margin: 0 0 0 45px !important;
    }
    .navbar__right-phone{
        margin-right: 30px;
    }
    .nav__link{
        font-size: 16px !important;
    }
    .navbar__right {
        padding-left: 25px;
    }
    .navbar__right-phone {
        font-size: 20px;
    }
}
@media (min-width: 1600px) {
    .nav__item{
        margin: 0 0 0 36px !important;
    }
    .nav__link{
        font-size: 18px !important;
    }
}
.about--ceramic:after{content:"CERAMIC COATI";position:absolute;bottom:0;right:auto;left:auto;height:auto;width:100%;display:block;color:#f2f2f3;font-size:34px;line-height:28px;font-weight:800;white-space:nowrap;text-align:center;opacity:.35;z-index:-1}@media (min-width:576px){.about--ceramic:after{font-size:60px;line-height:50px}}@media (min-width:768px){.about--ceramic:after{font-size:80px;line-height:70px}}@media (min-width:992px){.about--ceramic:after{font-size:104px;line-height:94px}}@media (min-width:1200px){.about--ceramic:after{font-size:126px;line-height:116px}}@media (min-width:1400px){.about--ceramic:after{font-size:148px;line-height:138px}}@media (min-width:1600px){.about--ceramic:after{font-size:168px;line-height:150px}}@media (min-width:1800px){.about--ceramic:after{font-size:190px;line-height:150px}}

.gallery-grid--ceramic .popup-youtube:before,.gallery-grid--ceramic .popup-youtube span{
    opacity: 0;
    transition: all .3s ease-in-out;
}
.gallery-grid--ceramic .popup-youtube span{
    z-index: 9;
}
.gallery-grid--ceramic .popup-youtube:after{
    content: "";
    background-color: rgba(168, 39, 33, .5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: all .3s ease-in-out;
}
.gallery-grid--ceramic .popup-youtube:hover:before,
.gallery-grid--ceramic .popup-youtube:focus:before,
.gallery-grid--ceramic .popup-youtube:hover:after,
.gallery-grid--ceramic .popup-youtube:focus:after,
.gallery-grid--ceramic .popup-youtube:hover span,
.gallery-grid--ceramic .popup-youtube:focus span {
    opacity: 1;
    transition: all .3s ease-in-out;
}

/* ===== Nav sizing for added Gift Cards link (10/20/2026) ===== */
@media (min-width: 992px) {
    .nav__item { margin: 0 0 0 5px !important; }
    .nav__link { font-size: 12px !important; }
    .navbar__right { padding-left: 8px; }
    .navbar__right-phone { font-size: 14px; }
}
@media (min-width: 1200px) {
    .nav__item { margin: 0 0 0 10px !important; }
    .nav__link { font-size: 14px !important; }
    .navbar__right { padding-left: 15px; }
    .navbar__right-phone { font-size: 18px; }
}
@media (min-width: 1400px) {
    .nav__item { margin: 0 0 0 22px !important; }
    .nav__link { font-size: 15px !important; }
    .navbar__right { padding-left: 25px; }
    .navbar__right-phone { font-size: 20px; }
}
@media (min-width: 1600px) {
    .nav__item { margin: 0 0 0 20px !important; }
    .nav__link { font-size: 16px !important; }
}
@media (max-width: 479px) {
    .navbar__mobile-buttons .navbar__right-phone,
    .navbar__mobile-buttons .navbar__right-directions { padding-left: 3px; padding-right: 3px; margin-right: 0; }
    .navbar__mobile-buttons svg { width: 26px; height: 26px; }
}

/* ===== Gift Card Popup + Side Tab (proof 10/26/2026, PO 130106) ===== */
.gift-popup {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility 0s linear .3s;
}
.gift-popup.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s ease;
}
.gift-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    cursor: pointer;
}
.gift-popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    max-width: 480px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    transform: translate(-50%, -46%);
    transition: transform .3s ease;
    background: #fff;
    border-top: 5px solid #a82721;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    text-align: center;
}
.gift-popup.is-open .gift-popup__content {
    transform: translate(-50%, -50%);
}
.gift-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #a82721;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    transition: background-color .2s ease;
}
.gift-popup__close:hover,
.gift-popup__close:focus-visible {
    background: #811e19;
}
.gift-popup__image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 40%;
}
.gift-popup__body {
    padding: 24px 28px 30px;
}
.gift-popup__title {
    margin: 0 0 14px;
    color: #a82721;
    font-family: "Merriweather Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}
.gift-popup__text {
    margin: 0 0 12px;
    color: #444;
    font-size: 16px;
    line-height: 1.55;
}
.gift-popup__btn,
.gift-popup__btn:hover,
.gift-popup__btn:focus {
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}
body.gift-popup-open {
    overflow: hidden;
}

/* Side tab to reopen the popup */
.gift-tab {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 6px 0 0 6px; /* appears on the right edge after the 180deg turn */
    background: #a82721;
    color: #fff;
    font-family: "Merriweather Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    /* vertical tab on the left edge, text reads bottom-to-top */
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, background-color .2s ease;
}
.gift-tab, .gift-tab:focus, .gift-tab:active, .gift-tab:hover {
    z-index: 99990 !important;
}
.gift-popup__close, .gift-popup__close:focus, .gift-popup__close:active {
    z-index: 2 !important;
    color: #fff;
}
.gift-tab.is-visible {
    visibility: visible;
    opacity: 1;
}
.gift-tab:hover,
.gift-tab:focus-visible, .gift-tab:focus {
    background: #811e19;
    color:#fff;
}
.gift-tab .fa {
    font-size: 17px;
    writing-mode: horizontal-tb;
    transform: rotate(180deg);
}

/* Mobile: compact popup + smaller tab */
@media (max-width: 767px) {
    .gift-popup__content {
        max-width: 360px;
    }
    .gift-popup__image {
        height: 130px;
    }
    .gift-popup__body {
        padding: 18px 18px 22px;
    }
    .gift-popup__title {
        font-size: 19px;
        margin-bottom: 10px;
    }
    .gift-popup__text {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .gift-popup__close {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .gift-popup__btn {
        min-width: 0;
        width: 100%;
        font-size: 16px;
    }
    .gift-tab {
        padding: 9px 12px;
        font-size: 12px;
    }
    .gift-tab .fa {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gift-popup, .gift-popup__content, .gift-tab { transition: none; }
}

/* Holiday flare on the popup image (holiday copy only) */
.gift-popup__media {
    position: relative;
    overflow: hidden;
}
.gift-popup__snow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 0 2px, transparent 2.5px),
        radial-gradient(circle, rgba(255,255,255,.8) 0 1.5px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,.6) 0 1px, transparent 1.5px);
    background-size: 70px 70px, 45px 45px, 30px 30px;
    background-position: 0 0, 20px 15px, 10px 5px;
    animation: giftSnow 12s linear infinite;
}
@keyframes giftSnow {
    to { background-position: 0 140px, 20px 105px, 10px 65px; }
}
.gift-popup__ribbon {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.gift-popup__ribbon::before,
.gift-popup__ribbon::after {
    content: "";
    position: absolute;
    background: #a82721;
    box-shadow: 0 0 0 2px #d4af37 inset, 0 2px 6px rgba(0,0,0,.35);
}
.gift-popup__ribbon::before { top: 0; bottom: 0; left: 18%; width: 22px; }
.gift-popup__ribbon::after  { left: 0; right: 0; top: 30%; height: 22px; }
.gift-popup__bow {
    position: absolute;
    top: calc(30% + 11px);
    left: calc(18% + 11px);
    width: 78px;
    height: 52px;
    transform: translate(-50%, -60%);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
    pointer-events: none;
}
.gift-popup__tag {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,.95);
    border: 2px solid #a82721;
    border-radius: 4px;
    color: #a82721;
    font-family: "Merriweather Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
@media (max-width: 767px) {
    .gift-popup__ribbon::before { width: 16px; }
    .gift-popup__ribbon::after  { height: 16px; }
    .gift-popup__bow { width: 60px; height: 40px; top: calc(30% + 8px); left: calc(18% + 8px); }
    .gift-popup__tag { font-size: 11px; padding: 4px 9px; right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .gift-popup__snow { animation: none; }
}
/* ===== /Gift Card Popup ===== */
