.product-catalogue-page {
    background: #fff;
}

.btn-default.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 16px 22px;
    color: var(--white-color);
    background: #25d366;
    border: 2px solid #25d366;
    box-shadow: 0 9px 24px rgba(37, 211, 102, 0.24);
}

.btn-default.btn-whatsapp > i,
.btn-default.btn-whatsapp > span {
    position: relative;
    z-index: 2;
}

.btn-default.btn-whatsapp > i {
    font-size: 21px;
}

.btn-default.btn-whatsapp::before {
    display: none;
}

.btn-default.btn-whatsapp::after {
    background: #128c7e;
}

.btn-default.btn-whatsapp:hover,
.btn-default.btn-whatsapp:focus-visible {
    color: var(--white-color);
    background: #25d366;
    border-color: #128c7e;
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.28);
    transform: translateY(-2px);
}

.main-menu ul li a.whatsapp-nav-link {
    color: #25d366;
}

.product-catalogue-page .catalogue-intro {
    max-width: 840px;
    margin: 0 auto 42px;
}

.category-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 72px;
}

.category-quick-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 18px;
    color: var(--primary-color);
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(18, 29, 39, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-quick-card:hover,
.category-quick-card:focus-visible {
    color: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(18, 29, 39, 0.1);
    transform: translateY(-3px);
}

.category-card-number {
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--white-color);
    background: var(--accent-color);
    border-radius: 50%;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 700;
}

.category-card-copy {
    min-width: 0;
}

.category-card-copy h2 {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.25;
}

.category-card-copy span {
    display: block;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.35;
}

.category-index-grid {
    margin-bottom: 0;
}

.category-index-card {
    position: relative;
    align-items: flex-start;
    min-height: 168px;
    padding: 20px 42px 20px 18px;
}

.category-index-card .category-card-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-index-card .category-card-count {
    color: var(--accent-color);
    font-weight: 700;
}

.category-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 20px;
    color: var(--accent-color);
    font-size: 14px;
    transition: transform 0.25s ease;
}

.category-index-card:hover .category-card-arrow {
    transform: translateX(4px);
}

.product-category-section {
    scroll-margin-top: 115px;
    padding: 0 0 70px;
}

.product-category-section + .product-category-section {
    padding-top: 8px;
    border-top: 1px solid var(--divider-color);
}

.product-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 34px 0 26px;
}

.product-category-heading h2 {
    margin: 0 0 8px;
    font-size: 36px;
}

.product-category-heading p {
    max-width: 620px;
    margin: 0;
}

.product-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    color: var(--accent-color);
    background: rgba(255, 183, 3, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.catalogue-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(18, 29, 39, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalogue-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.catalogue-product-card:hover {
    border-color: rgba(255, 183, 3, 0.6);
    box-shadow: 0 18px 42px rgba(18, 29, 39, 0.12);
    transform: translateY(-6px);
}

.catalogue-product-card:hover::before {
    transform: scaleX(1);
}

.catalogue-product-image,
.product-image-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f7f9f8, #edf2ef);
}

.catalogue-product-image {
    display: block;
    aspect-ratio: 4 / 3;
    padding: 16px;
    border-bottom: 1px solid var(--divider-color);
}

.catalogue-product-image img,
.product-image-frame > img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalogue-product-image img {
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.catalogue-product-card:hover .catalogue-product-image img {
    transform: scale(1.045);
}

.product-image-empty {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 20px;
    color: var(--text-color);
    text-align: center;
}

.product-image-empty i {
    color: var(--accent-color);
    font-size: 32px;
}

.product-image-empty strong {
    color: var(--primary-color);
    font-size: 15px;
}

.product-image-empty span {
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.35;
}

.catalogue-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.catalogue-product-body h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.catalogue-product-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.catalogue-product-card:hover .catalogue-product-body h3 a {
    color: var(--accent-color);
}

.catalogue-product-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.catalogue-product-body a.product-card-button {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    gap: 14px;
    min-height: 58px;
    margin-top: auto;
    padding: 8px 8px 8px 20px;
    overflow: hidden;
    color: var(--white-color);
    background: linear-gradient(135deg, #12223b 0%, #1d3a61 100%);
    border: 1px solid #27476f;
    border-radius: 15px;
    box-shadow: 0 9px 22px rgba(18, 34, 59, 0.18);
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.catalogue-product-body a.product-card-button::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.28) 49%, transparent 64%);
    transform: translateX(-135%);
    transition: transform 0.55s ease;
}

.catalogue-product-body a.product-card-button > span {
    position: relative;
    z-index: 1;
}

.product-card-button-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--primary-color);
    background: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: color 0.28s ease, transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.catalogue-product-body a.product-card-button:hover,
.catalogue-product-body a.product-card-button:focus-visible {
    color: var(--primary-color);
    background: linear-gradient(135deg, #ffb703 0%, #ffd166 100%);
    border-color: #e9a600;
    box-shadow: 0 14px 30px rgba(255, 183, 3, 0.3);
    transform: translateY(-3px);
}

.catalogue-product-body a.product-card-button:hover::before,
.catalogue-product-body a.product-card-button:focus-visible::before {
    transform: translateX(135%);
}

.catalogue-product-body a.product-card-button:hover .product-card-button-icon,
.catalogue-product-body a.product-card-button:focus-visible .product-card-button-icon {
    color: var(--white-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(18, 34, 59, 0.28);
    transform: translateX(2px) rotate(-3deg);
}

.catalogue-product-body a.product-card-button:active {
    box-shadow: 0 7px 16px rgba(18, 34, 59, 0.2);
    transform: translateY(0) scale(0.985);
}

.catalogue-product-body a.product-card-button:focus-visible {
    outline: 3px solid rgba(255, 183, 3, 0.38);
    outline-offset: 3px;
}

a.whatsapp-enquiry-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 58px;
    padding: 8px 22px 8px 9px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    border: 1px solid #139542;
    border-radius: 15px;
    box-shadow: 0 11px 27px rgba(22, 163, 74, 0.3);
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

a.whatsapp-enquiry-button::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.24) 49%, transparent 64%);
    transform: translateX(-135%);
    transition: transform 0.55s ease;
}

a.whatsapp-enquiry-button > i,
a.whatsapp-enquiry-button > span {
    position: relative;
    z-index: 1;
}

a.whatsapp-enquiry-button i {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 12px;
    font-size: 23px;
    transition: background 0.28s ease, transform 0.28s ease;
}

a.whatsapp-enquiry-button:hover,
a.whatsapp-enquiry-button:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #16a34a 0%, #087f5b 100%);
    border-color: #087f5b;
    box-shadow: 0 16px 34px rgba(8, 127, 91, 0.34);
    transform: translateY(-3px);
}

a.whatsapp-enquiry-button:hover::before,
a.whatsapp-enquiry-button:focus-visible::before {
    transform: translateX(135%);
}

a.whatsapp-enquiry-button:hover i,
a.whatsapp-enquiry-button:focus-visible i {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.06) rotate(-4deg);
}

a.whatsapp-enquiry-button:active {
    box-shadow: 0 8px 18px rgba(8, 127, 91, 0.28);
    transform: translateY(0) scale(0.985);
}

a.whatsapp-enquiry-button:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.36);
    outline-offset: 3px;
}

.category-product-page .catalogue-intro {
    max-width: 820px;
    margin: 0 auto 42px;
}

.catalogue-products-grid {
    align-items: stretch;
}

.catalogue-empty-state {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 30px;
    background: var(--secondary-color);
    border-radius: 22px;
    text-align: center;
}

.catalogue-empty-state i {
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: 42px;
}

.catalogue-empty-state h2 {
    margin-bottom: 8px;
    font-size: 28px;
}

.catalogue-empty-state p {
    margin: 0;
}

.product-detail-hero {
    margin-bottom: 46px;
}

.product-image-frame {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--divider-color);
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(18, 29, 39, 0.08);
}

.product-image-frame .product-image-empty i {
    font-size: 46px;
}

.product-image-frame .product-image-empty strong {
    font-size: 18px;
}

.product-detail-intro {
    padding-left: 22px;
}

.product-category-link {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: var(--accent-color);
    background: rgba(255, 183, 3, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.product-detail-intro h2 {
    margin: 0 0 16px;
    font-size: 48px;
    line-height: 1.15;
}

.product-detail-intro > p {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.75;
}

.database-product-description {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.75;
}

.database-product-description > *:last-child {
    margin-bottom: 0;
}

.database-product-description h2,
.database-product-description h3,
.database-product-description h4 {
    margin: 22px 0 12px;
    color: var(--primary-color);
}

.database-product-description ul,
.database-product-description ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.database-product-description table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.database-product-description th,
.database-product-description td {
    padding: 9px 10px;
    border: 1px solid var(--divider-color);
    text-align: left;
}

.database-product-gallery {
    margin-top: 50px;
}

.database-gallery-image {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    padding: 12px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
}

.database-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.product-labels span {
    padding: 6px 10px;
    color: var(--primary-color);
    background: var(--secondary-color);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.product-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-info-panel {
    padding: 28px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 20px;
}

.product-info-panel h2 {
    margin: 0 0 20px;
    font-size: 25px;
}

.product-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-feature-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 25px;
    line-height: 1.55;
}

.product-feature-list li:last-child {
    margin-bottom: 0;
}

.product-feature-list li::before {
    content: '\f058';
    position: absolute;
    top: 3px;
    left: 0;
    color: var(--accent-color);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.product-specifications dl {
    margin: 0;
}

.product-specifications dl > div {
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--divider-color);
}

.product-specifications dl > div:first-child {
    padding-top: 0;
}

.product-specifications dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.product-specifications dt {
    color: var(--primary-color);
    font-weight: 700;
}

.product-specifications dd {
    margin: 0;
}

.product-catalogue-note {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    padding: 20px 22px;
    background: var(--secondary-color);
    border-radius: 16px;
}

.product-catalogue-note > i {
    margin-top: 4px;
    color: var(--accent-color);
    font-size: 20px;
}

.product-catalogue-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.product-catalogue-note p {
    margin: 0;
}

.product-back-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--divider-color);
}

.product-back-row .readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    color: var(--primary-color);
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(18, 34, 59, 0.06);
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
}

.product-back-row .readmore-btn::before {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-size: 13px;
    font-weight: 900;
}

.product-back-row .readmore-btn::after {
    display: none;
}

.product-back-row .readmore-btn:hover,
.product-back-row .readmore-btn:focus-visible {
    color: var(--primary-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 10px 28px rgba(255, 183, 3, 0.22);
    transform: translateY(-2px);
}

@media only screen and (max-width: 991px) {
    .category-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 52px;
    }

    .product-category-section {
        padding-bottom: 50px;
    }

    .product-category-heading h2 {
        font-size: 30px;
    }

    .product-detail-intro {
        padding-left: 0;
    }

    .product-detail-intro h2 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .product-catalogue-page .catalogue-intro {
        margin-bottom: 30px;
    }

    .category-quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 42px;
    }

    .category-quick-card {
        min-height: 82px;
        padding: 14px;
    }

    .category-index-card {
        min-height: 140px;
        padding: 17px 40px 17px 15px;
    }

    .category-card-arrow {
        right: 16px;
        bottom: 18px;
    }

    .product-category-heading {
        display: block;
        margin: 24px 0 20px;
    }

    .product-category-heading h2 {
        font-size: 27px;
    }

    .product-count {
        display: inline-block;
        margin-top: 12px;
    }

    .catalogue-product-body {
        padding: 17px;
    }

    .catalogue-product-body h3 {
        font-size: 19px;
    }

    .product-detail-hero {
        margin-bottom: 30px;
    }

    .product-image-frame {
        max-width: 520px;
        margin: 0 auto;
        border-radius: 20px;
    }

    .product-detail-intro h2 {
        font-size: 32px;
    }

    .product-detail-intro > p {
        font-size: 16px;
    }

    .product-information-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-info-panel {
        padding: 22px 18px;
    }

    .product-info-panel h2 {
        font-size: 22px;
    }

    .product-specifications dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .product-back-row {
        justify-content: flex-start;
        margin-top: 28px;
        padding-top: 22px;
    }

    .product-back-row .readmore-btn {
        justify-content: center;
        width: 100%;
    }

    .product-detail-intro .btn-whatsapp {
        width: 100%;
    }

    .product-detail-intro .whatsapp-enquiry-button {
        width: 100%;
    }
}
