@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.eot');
    src: local('Gilroy Regular'), local('Gilroy-Regular'),
        url('../fonts/Gilroy-Regular-1.eot') format('embedded-opentype'),
        url('../fonts/Gilroy-Regular.woff') format('woff'),
        url('../fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.eot');
    src: local('Gilroy Medium'), local('Gilroy-Medium'),
        url('../fonts/Gilroy-Medium-1.eot') format('embedded-opentype'),
        url('../fonts/Gilroy-Medium.woff') format('woff'),
        url('../fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.eot');
    src: local('Gilroy SemiBold'), local('Gilroy-SemiBold'),
        url('../fonts/Gilroy-SemiBold-1.eot') format('embedded-opentype'),
        url('../fonts/Gilroy-SemiBold.woff') format('woff'),
        url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.eot');
    src: local('Gilroy Bold'), local('Gilroy-Bold'),
        url('../fonts/Gilroy-Bold-1.eot') format('embedded-opentype'),
        url('../fonts/Gilroy-Bold.woff') format('woff'),
        url('../fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Галерея кольорів скатертини */
.colors-section {
    padding: 25px 15px 35px;
    background: linear-gradient(180deg, #FFFAF5 0%, #F5EDE4 100%);
}

.colors-section h2.title {
    margin-bottom: 10px;
}

.colors-section h2.title span {
    color: #8B6F47;
}

.colors-subtitle {
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    color: #6B5B4E;
    margin: 0 20px 16px;
    font-weight: 500;
}

.color-preview {
    margin: 0 15px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(180, 140, 100, 0.2);
    overflow: hidden;
    border: 2px solid #E8C9A8;
}

.color-preview-img-wrap {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: #F5EDE4;
}

.color-preview-img-wrap img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 58%;
    transition: transform 0.35s ease;
}

.color-preview-img-wrap:hover img {
    transform: scale(1.04);
}

.color-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(92, 74, 58, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
}

.color-preview-name {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #5C4A3A;
    margin: 12px 15px 8px;
    line-height: 1.3;
}

.color-preview-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 15px 14px;
}

.color-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574, #E8C9A8);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(180, 140, 100, 0.35);
    transition: transform 0.2s ease;
}

.color-nav-btn:hover {
    transform: scale(1.08);
}

.color-nav-counter {
    font-size: 15px;
    font-weight: 600;
    color: #8B6F47;
    min-width: 50px;
    text-align: center;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
    max-width: 440px;
    margin: 0 auto;
}

.color-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 12px rgba(180, 140, 100, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-item.active {
    border-color: #D4A574;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
}

.color-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(180, 140, 100, 0.3);
}

.color-item img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
    object-position: center 58%;
    border-radius: 12px 12px 0 0;
}

.color-item span {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #8B6F47;
    padding: 8px 4px 10px;
    background: linear-gradient(180deg, #FFFAF5, #F5EDE4);
    letter-spacing: 0;
    line-height: 1.3;
    min-height: 38px;
}

/* Лайтбокс для перегляду принтів */
.color-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.color-lightbox.open {
    display: flex;
}

.color-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 10, 0.88);
}

.color-lightbox-inner {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 460px;
    text-align: center;
}

.color-lightbox-img {
    display: block;
    width: 100%;
    height: 72vh;
    object-fit: cover;
    object-position: center 58%;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    background: #F5EDE4;
}

.color-lightbox-name {
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #F5EDE4;
    line-height: 1.3;
    padding: 0 40px;
}

.color-lightbox-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #5C4A3A;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.color-lightbox-prev,
.color-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #5C4A3A;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.color-lightbox-prev {
    left: -8px;
}

.color-lightbox-next {
    right: -8px;
}

body.lightbox-open {
    overflow: hidden;
}

.benefits-full {
    list-style: none;
    padding: 0 25px 10px;
    margin: 0;
}

.benefits-full li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 16px;
    line-height: 22px;
    color: #4A3F35;
    text-align: left;
}

.benefits-full li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #D4A574, #E8C9A8);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    text-align: center;
}

.bg-yellow-200 {
    background-color: #E8C9A8 !important;
}
