.services-section {
    padding: 40px 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-section .container {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.category-info h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
}

.category-info .count {
    font-size: 0.85rem;
    color: #6b6b6b;
}

.toolbar-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-controls select {
    padding: 8px 16px;
    border-radius: 60px;
    border: 1px solid #e5e5e5;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    background: white;
}

.category-layout {
    display: flex;
    gap: 32px;
    margin: 8px 0 40px;
}

.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group h4 {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #6b6b6b;
    padding: 4px 0;
    cursor: pointer;
}

.filter-group label:hover {
    color: #1a1a1a;
}

.filter-group input[type="checkbox"] {
    accent-color: #1a1a1a;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.price-range input[type="range"] {
    width: 100%;
    accent-color: #1a1a1a;
    cursor: pointer;
}

.price-range .values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b6b6b;
    margin-top: 4px;
}

.reset-filters {
    background: none;
    border: 1px solid #e5e5e5;
    border-radius: 60px;
    padding: 8px 20px;
    font-size: 0.8rem;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.reset-filters:hover {
    background: #f6f6f6;
}

.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 16px 14px 18px;
    border: 1px solid #e5e5e5;
    transition: all 0.25s ease;
    position: relative;
}

.card-top {
    position: absolute;
    top: 10px;
    right: 10px;

    z-index: 5;

    display: flex;
    justify-content: flex-end;

    margin: 0;
}

.card-top-right{
    display:flex;
    align-items:center;
    gap:8px;
}

.sale-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#e74c3c;
    color:#fff;

    padding:4px 10px;
    border-radius:4px;

    font-size:.7rem;
    font-weight:700;
    line-height:1;
}

.wishlist-btn {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    cursor: pointer;

    z-index: 6;
}

.product-image {
    position: relative;

    background: #f6f6f6;
    border-radius: 8px;
    aspect-ratio: 16 / 10;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    font-size: 3rem;
    color: #6b6b6b;

    overflow: hidden;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b6b6b;
}

.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 2px 0 4px;
    color: #1a1a1a;
}

.product-desc {
    font-size: 0.8rem;
    color: #6b6b6b;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}

.feature-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: #f6f6f6;
    color: #6b6b6b;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #f39c12;
    margin: 6px 0;
}

.product-rating span:last-child {
    color: #6b6b6b;
    font-size: 0.75rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.price-current {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.price-original {
    font-size: 0.85rem;
    color: #6b6b6b;
    text-decoration: line-through;
}

.price-save {
    font-size: 0.7rem;
    color: #27ae60;
    font-weight: 600;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-primary {
    flex: 1;
    background: #0e1c30;
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary:hover {
    background: #009B5B;
}

.btn-secondary {
    background: #f6f6f6;
    border: none;
    padding: 10px 14px;
    border-radius: 60px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

@media (min-width: 1201px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1600px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-sidebar { display: none; }
}
@media (max-width: 768px) {
    .services-section .container { padding: 0 15px; }
    .category-toolbar { flex-direction: column; gap: 12px; }
    .toolbar-controls { width: 100%; }
    .toolbar-controls select { flex: 1; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card { padding: 12px 10px 14px; }
    .filter-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        display: block;
        padding: 0 0 16px 0;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 16px;
    }
    .filter-group { margin-bottom: 16px; }
}
@media (max-width: 480px) {
    .services-section .container { padding: 0 10px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card { padding: 10px 8px 12px; }
    .product-name { font-size: 0.85rem; }
    .price-current { font-size: 1rem; }
    .btn-primary { font-size: 0.7rem; padding: 8px 0; }
    .btn-secondary { padding: 8px 10px; font-size: 0.7rem; }
    .wishlist-btn { width: 28px; height: 28px; font-size: 0.8rem; }
    .card-top .badge { font-size: 0.6rem; padding: 3px 8px; }
}

.pagination-container {
    display: flex;
    justify-content: center;
    padding: 30px 0 10px;
    grid-column: 1 / -1;
    z-index: 9999;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.page-btn:hover:not(:disabled):not(.active) {
    background: #f6f6f6;
    border-color: #1a1a1a;
}

.page-btn.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-dots {
    padding: 0 4px;
    color: #6b6b6b;
}

@media (max-width: 768px) {
    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .page-btn {
        min-width: 30px;
        height: 30px;
        font-size: 0.7rem;
        padding: 0 6px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.special-service-options {
    margin: 16px 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.page-service-options > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.page-quantity-selector button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.page-quantity-selector input {
    width: 70px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

.page-price-information {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 13px;
}

.website-addon-options > strong {
    display: block;
    margin-bottom: 12px;
}

.website-addon-list {
    margin-bottom: 12px;
}

.website-addon-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
}

.website-addon-option input {
    width: 18px;
    height: 18px;
}

.website-addon-option:last-child {
    border-bottom: none;
}

.printing-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
}

.printing-option input {
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.printing-option span {
    flex: 1;
    font-size: 13px;
    color: #334155;
}

.printing-option strong {
    font-size: 13px;
    color: #009b5b;
}

.top-designs-section {
    width: 100%;
    max-width: 1400px;
    margin: 18px auto 0;
    padding: 0 20px;
}

.top-designs-section .container {
    max-width: 1360px;
    height: 500px;
    margin: 0 auto;
    padding: 30px 26px 34px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
}

.top-designs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.top-designs-header h2 {
    margin: 0;
    color: #004370;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.view-all-designs {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #009b5b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.view-all-designs:hover {
    gap: 13px;
    color: #007a48;
}

.top-designs-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 4px;
}

.top-designs-swiper .swiper-wrapper {
    align-items: stretch;
}

.top-designs-swiper .swiper-slide {
    height: auto;
}

.top-design-card {
    position: relative;
    height: auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce4eb;
    border-radius: 12px;
    transition:
        transform 0.25s ease,
}

.top-design-image-wrap {
    position: relative;
    width: 100%;
    height: 158px;
    overflow: hidden;
    background: #eef2f4;
}

.top-design-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.top-design-card:hover .top-design-image {
    transform: scale(1.035);
}

.top-design-image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #94a3b8;
    background:
        linear-gradient(
            135deg,
            #edf2f4,
            #dce5e8
        );
}

.top-design-image-fallback i {
    font-size: 42px;
}

.top-design-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-design-icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #94a0aa;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.top-design-icon-btn:hover {
    color: #004370;
    background: #ffffff;
}

.top-design-icon-btn.is-liked {
    color: #ef4444;
}

.top-design-content {
    padding: 17px 16px 15px;
}

.top-design-title {
    margin: 0 0 11px;
    color: #004370;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.top-design-description {
    min-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #777777;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.design-more-image {
    width: 126px;
    height: 21px;
    margin: 2px 0 10px;
    object-fit: contain;
    object-position: left center;
}

.top-design-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.top-design-price-group {
    display: grid;
    gap: 3px;
}

.top-design-original-price {
    min-height: 14px;
    color: #94a3b8;
    font-size: 11px;
    text-decoration: line-through;
}

.top-design-price {
    color: #009b5b;
    font-size: 16px;
    font-weight: 800;
}

.top-design-tier {
    max-width: 120px;
    overflow: hidden;
    padding: 5px 10px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-design-loading {
    min-height: 280px;
    display: grid;
    place-content: center;
    gap: 13px;
    text-align: center;
    color: #64748b;
}

.top-designs-pagination {
    display: none;
    position: relative;
    margin-top: 18px;
    text-align: center;
}

.top-designs-pagination
.swiper-pagination-bullet-active {
    background: #009b5b;
}

@media (max-width: 1024px) {
    .top-designs-section .container {
        padding: 26px 20px 30px;
    }

    .top-designs-header {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .top-designs-section {
        width: 100%;
        margin-top: 12px;
        padding: 0 10px;
    }

    .top-designs-section .container {
        padding: 22px 14px 24px;
        border-radius: 14px;
    }

    .top-designs-header {
        align-items: center;
        margin-bottom: 21px;
    }

    .top-designs-header h2 {
        font-size: 22px;
    }

    .view-all-designs {
        font-size: 12px;
    }

    .top-designs-swiper {
        padding-bottom: 4px;
    }

    .top-design-image-wrap {
        height: 150px;
    }

    .top-designs-pagination {
        display: block;
    }
}

@media (max-width: 480px) {
    .top-designs-section {
        padding: 0 7px;
    }

    .top-designs-section .container {
        padding: 20px 12px 22px;
    }

    .top-designs-header {
        gap: 12px;
    }

    .top-designs-header h2 {
        font-size: 20px;
    }

    .view-all-designs span {
        display: none;
    }

    .top-design-image-wrap {
        height: 145px;
    }

    .top-design-content {
        padding: 16px 15px 15px;
    }
}

.top-designs-swiper .swiper-wrapper {
    align-items: flex-start;
}

.top-designs-swiper .swiper-slide {
    height: auto;
    align-self: flex-start;
}

.top-design-card {
    height: auto;
    min-height: 0;
}

.top-design-image-wrap {
    height: 158px;
}

.top-design-content {
    padding: 14px 15px 13px;
}

.top-design-title {
    margin-bottom: 8px;
    font-size: 15px;
}

.top-design-description {
    min-height: 0;
    height: 40px;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 20px;
}

.design-more-image {
    width: 126px;
    height: 21px;
    margin: 0 0 7px;
}

.top-design-footer {
    align-items: center;
}

.top-design-price-group {
    display: block;
    line-height: 1.2;
}

.top-design-original-price:empty {
    display: none;
}

.top-design-original-price {
    min-height: 0;
    margin-bottom: 2px;
}

.top-design-price {
    font-size: 16px;
    line-height: 1.2;
}

.top-design-tier {
    padding: 5px 10px;
}

.top-designs-pagination {
    margin-top: 12px;
}

.printing-selector {
    width: 100%;
    margin: 14px 0;
    padding: 14px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #f8fafc;
}

.printing-toggle {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #172033;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.printing-toggle input {
    width: 17px;
    height: 17px;
    margin: 0;

    accent-color: #009b5b;

    cursor: pointer;
}

.printing-details {
    display: grid;
    gap: 14px;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid #e2e8f0;
}

.printing-field {
    display: grid;
    gap: 7px;
}

.printing-field > label {
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.printing-field select {
    width: 100%;
    min-width: 0;
    height: 43px;

    padding: 0 40px 0 13px;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    outline: none;

    background-color: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #64748b 50%
        ),
        linear-gradient(
            135deg,
            #64748b 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 17px) 18px,
        calc(100% - 12px) 18px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.printing-field select:hover {
    border-color: #94a3b8;
}

.printing-field select:focus {
    border-color: #009b5b;

    box-shadow:
        0 0 0 3px
        rgba(0, 155, 91, 0.1);

    background-color: #ffffff;
}

.printing-quantity-selector {
    display: grid;
    grid-template-columns:
        42px minmax(0, 1fr) 42px;

    align-items: stretch;

    width: 100%;
    height: 43px;

    overflow: hidden;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    background: #ffffff;
}

.printing-quantity-selector button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 100%;
    padding: 0;

    border: none;

    background: #eef2f6;
    color: #004370;

    font-family: inherit;
    font-size: 19px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.printing-quantity-selector button:first-child {
    border-right: 1px solid #e2e8f0;
}

.printing-quantity-selector button:last-child {
    border-left: 1px solid #e2e8f0;
}

.printing-quantity-selector button:hover {
    background: #004370;
    color: #ffffff;
}

.printing-quantity-selector button:active {
    background: #002f50;
}

.printing-quantity-selector input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 8px;

    border: none;
    outline: none;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}

.printing-quantity-selector input::-webkit-inner-spin-button,
.printing-quantity-selector input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.printing-limits {
    display: block;

    color: #64748b;
    font-size: 9px;
    line-height: 1.4;
}

.printing-summary {
    display: grid;
    gap: 8px;

    padding: 12px;

    border-radius: 9px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.printing-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    color: #64748b;
    font-size: 11px;
}

.printing-summary strong {
    color: #172033;
    font-size: 11px;
}

.printing-summary > div:last-child {
    padding-top: 8px;

    border-top: 1px solid #e2e8f0;
}

.printing-summary > div:last-child strong {
    color: #009b5b;
    font-size: 13px;
}

@media (max-width: 768px) {

    .printing-selector {
        margin: 11px 0;
        padding: 11px;
        border-radius: 10px;
    }

    .printing-details {
        gap: 12px;
        margin-top: 11px;
        padding-top: 11px;
    }

    .printing-field select,
    .printing-quantity-selector {
        height: 40px;
    }

    .printing-field select {
        padding-left: 10px;
        font-size: 10px;
    }

    .printing-quantity-selector {
        grid-template-columns:
            38px minmax(0, 1fr) 38px;
    }

    .printing-quantity-selector button {
        width: 38px;
        font-size: 17px;
    }

    .printing-quantity-selector input {
        font-size: 12px;
    }
}


.product-image {
    position: relative;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 16 / 10;

    border-radius: 9px;
    background: #f1f5f9;
}

.product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}