/* ====================================
   1. CSS VARIABLES (ROOT)
   ==================================== */
:root {
    --primary-color: #ff3c5a;
    --orange-color: #FF8C00;
    --dark-bg: #121212;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
}

/* ====================================
   2. BASE STYLES
   ==================================== */
body {
    font-family: 'Commissioner', sans-serif;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ====================================
   3. LAYOUT COMPONENTS
   ==================================== */

/* ----- 3.1 Navbar (from old code) ----- */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-collapse {
    text-align: center;
}

.navbar-brand img { 
    height: 30px; 
}

.navbar.navbar-dark .nav-link {
    color: var(--text-light);
    margin: 0 10px;
    font-size: 16px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.navbar-collapse.show + .navbar-toggler .navbar-toggler-icon,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cline x1='6' y1='6' x2='24' y2='24' stroke='white' stroke-width='2'/%3e%3cline x1='24' y1='6' x2='6' y2='24' stroke='white' stroke-width='2'/%3e%3c/svg%3e");
}

.navbar .nav-link.btn {
    background-color: #343a40;
    color: white;
    border: 1px solid #495057;
}

.navbar:not(.navbar-dark) .nav-link {
    color: var(--text-light);
    font-size: 16px;
    color: white;
}

.contact-info-container {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    margin-right: 15px;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 16px;
    margin-right: 20px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.contact-info-container-mobile {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* ----- 3.4 Products Section ----- */
.products-section {
    background-color: white;
}

/* ----- 3.5 About Section ----- */
.about-section {
    padding: 80px 0;
}

/* ----- 3.6 Footer ----- */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 30px 0;
}

/* ====================================
   4. UI COMPONENTS
   ==================================== */

/* ----- 4.1 Buttons ----- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e0354e;
    border-color: #e0354e;
}

.buy-btn {
    color: var(--primary-color);
    font-weight: bold;
    height: 50px;
    line-height: 35px;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.buy-btn:hover {
    background-color: rgba(0, 0, 0, 0);
    color: var(--dark-bg);
    box-shadow: 3px -3px 15px rgba(0, 0, 0, 0.3);
}

.button-group {
    font-size: 18px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    align-items: center;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.btn-outline-secondary {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* ----- 4.3 Product Cards ----- */
.product-card {
    background-color: white;
    justify-content: space-between;
    gap: 15px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-radius: 10px;
    transition: box-shadow 0.3s;
    max-width: 500px;
    width: 100%;
    border-width: 2px;
    border: 1px solid var(--bg-light);
    overflow: hidden;
    position: relative;
    padding: 15px;
    min-height: 160px;
    box-shadow: -2px 3px 5px 1px rgba(0,0,0,0.1);
}

.product-card > div:first-child {
    flex: 1;
    min-width: 0;
    padding-right: 5px;
    z-index: 1;
}

.image-wrapper,
.image-wrapper2 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 180px;
    height: auto;
    position: relative;
    align-self: flex-end;
}

.image-wrapper2 {
    margin-right: -30px;
    margin-bottom: -30px;
}

.image-wrapper {
    margin-right: -40px;
    margin-bottom: -40px;
}

.product-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ----- 4.4 Menu Items ----- */
.menu-item {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
    transition: font-weight 0.3s;
    flex: 0 1 auto;
    text-align: center;
}

/* ----- 4.5 Gallery Items ----- */
.gallery-item img {
    width: 90%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    transition: transform 0.5s ease;
    justify-self: center;
    display: block;
    border-radius: 20px;
}

.gallery-item:hover img { 
    transform: scale(1.05); 
}

/* Modal styles */
.modal-overlay {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto;
}

.modal-overlay:target {
    display: block;
}

.modal-container {
    min-height: 100vh;
    display: flex;
    align-items: center; /* Center vertically when content fits */
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 1200px;
    border-radius: 12px;
    margin: 20px 0;
    background: transparent;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.modal-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-close:hover {
    opacity: 0.8;
}

.image-div {
    width: 90%;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin: 20px auto 0;
}

.product-images {
    flex-direction: row;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
}

.product-image-container {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.text-div {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 0 20px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -100px;
    z-index: 1;
    padding-top: 120px;
}

.product-description h3 {
    font-size: 17px;
}

.product-description p {
    margin-bottom: 15px;
}

.product-description ul {
    list-style: none;
    padding: 0;
}

.product-description li {
    padding: 4px 0;
    position: relative;
    padding-left: 18px;
}

.product-description li:before {
    content: "•";
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-description li:last-child {
    border-bottom: none;
}

.contact-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    min-height: 300px;
    margin: 0 auto;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: start;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-form input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    transition: border-color 0.3s;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form label {
    position: absolute;
    left: 0;
    top: 10px;
    color: #777;
}

.icon-form {
    font-size: 16px;
    color: #777;
    margin-right: 10px;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-container {
        padding: 10px;
    }

    .modal-body {
        margin: 10px 0;
    }

    .image-div {
        width: 95%;
        margin: 10px auto 0;
        padding: 15px;
    }

    .product-images {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 15px;
    }

    .product-image-container {
        height: 200px;
    }

    .text-div {
        margin: 0 10px 10px;
        top: -60px;
        padding: 15px;
        padding-top: 80px;
    }

    .modal-close {
        position: fixed;
        top: 5px;
        right: 50%;
        transform: translateX(50%);
        z-index: 20;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
    }
}

@media (max-width: 560px) {
    .modal-container {
        padding: 5px;
    }

    .image-div {
        width: 86%;
        padding: 15px;
    }

    .product-images {
        gap: 10px;
    }

    .product-image-container {
        height: 170px;
    }

    .text-div {
        padding: 15px;
        padding-top: 60px;
        top: -40px;
    }

    .modal-close {
        position: fixed;
        top: 5px;
        right: 50%;
        transform: translateX(50%);
        z-index: 20;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
    }
}

/* Support for older browsers without :has() */
@supports not (selector(:has(*))) {
    body {
        overflow: auto;
    }
    
    .modal-overlay:target {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow: auto;
    }
    
    .modal-overlay:target + * {
        display: none;
    }
}

/* ====================================
   5. TYPOGRAPHY
   ==================================== */
.about-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: start;
    font-family: 'Montserrat', sans-serif;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: black;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.product-title {
    color: #dc3545;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 1.5rem;
    display: flex;         
    align-items: center; 
    gap: 1rem; 
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1rem;
    position: relative;
    padding-left: 12px;
    margin-bottom: 5px;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 2px;
    background-color: red;
    border-radius: 2px;
}

.section-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.text-dark {
  color: #000 !important;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-contact-item { 
    font-size: 14px; 
    color: var(--text-gray); 
    margin-bottom: 5px;
}

/* ====================================
   6. UTILITY CLASSES
   ==================================== */

/* ----- 6.1 Alignment Classes ----- */
.about-align {
    align-items: center;
}

.competence-align {
    align-items: start;
}

.footer-align {
    align-items: center;
}

/* ----- 6.2 Decorative Elements ----- */
.red-line {
    height: 5px;
    background-color: #dc3545;
    display: block;
}

.gray-line {
    height: 5px;
    background-color: var(--bg-light);
    display: block;
}

.orange-line {
    display: block;
    width: 200px;
    height: 5px;
    background-color: var(--orange-color);
    margin: 20px 0;
}

.hidden {
    display: none !important;
}

/* ====================================
   7. CONTACT & FOOTER SPECIFIC
   ==================================== */
.footer-logo { 
    max-width: 150px; 
    height: auto; 
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
    margin-bottom: 20px;
}

.footer-contact-container {
    width: 100%;
}

.footer-contact-column {
    flex: 1;
}

.footer-contact-column:first-child {
    margin-right: 20px;
}

/* ====================================
   8. BANNER SECTION - UPDATED HEIGHT
   ==================================== */
.banner-section {
  margin: 110px auto 20px auto;
  max-width: 70%;
  min-height: 185px; /* Reduced from 370px to half (185px) */
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(30,30,30,0.08);
  display: block;
}

.banner-right-part {
  width: 50%;
  display: flex;
  align-items: stretch;
}

.banner-left {
  min-height: 185px; /* Reduced from 370px to half (185px) */
  justify-content: center;
  align-items: flex-start;
  gap: 10px; 
  padding: 20px 24px 16px 50px; /* Adjusted padding for smaller height */
  width: 100%;
}

.banner-mosa {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 160px;
  min-width: 90px;
  height: auto;
}

.banner-title {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 42px;
  color: #000;
  text-align: left;
  margin-bottom: 18px;
  line-height: 1.18;
}

.banner-img {
  width: 80%;
  height: auto;
  border-radius: 0 0 16px 0;
  display: block;
  box-shadow: none !important;
  object-fit: contain;
  margin: 0;
  padding: 0;
  max-width: none;
  min-width: 0;
}

.banner-mobile {
  display: none;
}

/* Banner Indicators */
.banner-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Мобильный баннер - увеличенный */
.banner-mobile {
  display: none;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(30,30,30,0.1);
  margin: 100px auto 30px;
  width: 95vw;
  padding: 25px 15px;
}

.banner-mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-mobile-top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.banner-mosa-mobile {
  width: 100px;
  height: auto;
  margin-left: 15px;
}

.banner-title {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 32px;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.banner-subtitle {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 22px;
  color: #000;
  margin: 5px 0 0 0;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .banner-mobile {
    display: block;
  }
  
  .banner-flex {
    display: none;
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 28px;
  }
  
  .banner-subtitle {
    font-size: 20px;
  }
  
  .banner-mosa-mobile {
    width: 90px;
  }
}

/* ====================================
   9. MEDIA QUERIES
   ==================================== */

/* ----- 9.1 Bootstrap Navigation Override ----- */
@media (max-width: 991px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
    
    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: 15px;
        width: 100%;
    }
    
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ----- 9.2 Desktop Navbar Styles ----- */
@media (min-width: 992px) {
    .contact-info-container-mobile {
        display: none !important;
    }
    
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-expand-lg .navbar-toggler {
        display: none !important;
    }
    
    .contact-info-container {
        justify-content: center;
        gap: 20px;
    }
    
    .navbar > .container-fluid {
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        justify-content: center;
        flex-direction: row;
    }
    
    .nav-link {
        padding: 8px 15px;
        white-space: nowrap;
    }
}

/* ----- 9.3 Mobile Navigation (991px and down) ----- */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 18px;
        color: var(--text-light);
        margin: 5px 0;
    }

    .nav-link::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: #626262;
    }

    .nav-link.btn.btn-dark {
        background-color: transparent !important;
        border: none !important;
        color: var(--text-light) !important;
        margin: 5px 0;
    }
    
    .nav-link.btn.btn-dark:hover {
        background-color: transparent !important;
        border-color: transparent !important;
        color: var(--text-light) !important;
    }
}

/* ----- 9.4 Large Devices (laptops/desktops, 991px and down) ----- */
@media (max-width: 991px) {
    .gallery-item img {
        width: 100%;
        max-width: 460px;
        max-height: 240px;
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .about-section .text-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-section .gap-3 { 
        gap: 1rem; 
    }

    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-contact-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-section {
        margin-top: 110px;
        max-width: 99vw;
        border-radius: 10px;
        min-height: unset;
        padding: 0;
    }
    .banner-title { 
        font-size: 24px; 
        margin-left: 2px; 
    }
    .banner-left { 
        min-height: 90px; /* Adjusted for smaller mobile height */
        padding: 15px 14px 5px 42px; /* Reduced padding */
    }
    .banner-img { 
        width: 100%;
        max-width: none;
        min-width: 0;
    }
    .banner-mosa { 
        max-width: 120px; 
    }
}

/* ----- 9.5 Medium Devices (tablets, 768px and down) ----- */
@media (max-width: 768px) {
    .contact-info-container {
        position: static;
        transform: none;
        justify-content: center;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .contact-info-container-mobile {
        order: -1;
        margin-right: 10px;
    }
    
    .navbar-brand {
        order: 0;
    }
    
    .navbar-toggler {
        order: 1;
    }
    
    .navbar .container {
        flex-wrap: nowrap;
    }
    
    .contact-info { 
        margin-bottom: 5px; 
    }

    .about-section{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-text{
        text-align: start;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-contact-column:first-child {
        margin-right: 0;
    }

    .banner-section {
        margin-top: 120px;
        max-width: 93vw;
        border-radius: 10px;
    }
    .banner-flex { 
        display: none !important; 
    }
    .banner-mobile { 
        display: block; 
    }
    .banner-mosa {
        display: none !important;
    }
    .banner-title {
        text-align: left;
        font-size: 24px;
        font-weight: 600;
    }
    .banner-mobile-btn {
        min-width: 0 !important;
        max-width: 170px !important;
        width: auto !important;
        display: inline-block !important;
        white-space: nowrap;
        padding-left: 16px;
        padding-right: 16px;
    }
    .image-wrapper-banner-mobile {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px;
    }
    .banner-img-mobile {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }
}

/* ----- 9.6 Product Card Specific (768px to 991px) ----- */
@media (min-width: 768px) and (max-width: 991px) {
    .product-card {
        flex-direction: row;
        padding-right: 0;
        min-height: 180px;
    }
    
    .image-wrapper {
        width: 220px;
        margin-right: -50px;
        margin-bottom: -50px;
    }
    
    .product-image {
        width: 220px;
    }
}

/* ----- 9.7 Extra Small Devices (phones, 767px and down) ----- */
@media (max-width: 767px) {
    .contact-info-container-mobile .contact-text {
        display: none;
    }

    .contact-info {
        margin-right: 10px;
        font-size: 12px;
    }

    .contact-icon {
        width: 24px;
        height: 24px;
    }

    .navbar-brand img {
        height: 25px;
    }
    
    .product-card {
        flex-direction: row;
        padding-right: 0;
        overflow: hidden;
        position: relative;
        min-height: 150px;
    }
    
    .image-wrapper,
    .image-wrapper2 {
        width: 130px;
        position: absolute;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
    }
    
    .image-wrapper {
        margin-right: -30px;
        margin-bottom: -30px;
    }
    
    .image-wrapper2 {
        margin-right: -5px;
        margin-bottom: -5px;
    }
    
    .product-image {
        width: 180px;
    }
    
    .product-card > div:first-child {
        padding-right: 100px;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }

    .banner-img-mobile {
        width: 95%;
        max-width: 95%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        position: relative;
        top: 0;
    }
}

/* ----- 9.8 Small Devices (landscape phones, 576px and down) ----- */
@media (max-width: 576px) {
    .about-section { 
        padding: 40px 0; 
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-contact-item {
        font-size: 12px;
    }

    .banner-section > .container { 
        padding-left: 0 !important; 
        padding-right: 0 !important; 
    }
    .banner-img-mobile { 
        width: 100%; 
        max-width: 100%; 
    }
    .banner-mobile .btn {
        width: auto;
    }
}

.contact-link {
    color: inherit;
    text-decoration: none;
}

.copy-tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 4px 8px;
    position: absolute;
    z-index: 1;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-info.position-relative:hover .copy-tooltip,
.contact-info.position-relative.show-tooltip .copy-tooltip {
    visibility: visible;
    opacity: 1;
}