
:root {
  --font-base: "Open Sans", Helvetica, Arial, sans-serif;
  --theme-primary: #f78222;
  --theme-main: #496187;
  --theme-secondary: #0062bd;
  --theme-accent: #90e0ef;
  --theme-bg: #f1f3f5;
  --theme-dark: #333e48;
  --theme-lightdark: #334141;
  --theme-main-dark: #1e2022;
  --theme-red: #ee0000;
  --theme-light-gray: #878787;
  --theme-text-gray: #7c7c7c;
  --theme-muted: #6c757d;
  --theme-highlight: #f78222;
  --theme-white: #fff;
  --theme-bg-cream: #fffaf0;
  --theme-bg-snow: #fffafa;
  --theme-bg-ghost: #f8f8ff;
}

/* ================================
   Global Reset & Base
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--theme-dark);
  background-color: var(--theme-white);
}

/* ================================
   Typography
================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--theme-primary);
  letter-spacing: -0.5px;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--theme-dark);
  font-size: 18px;
  margin-bottom: 0 !important;
}

a {
  color: var(--theme-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--theme-secondary);
}



.new-theme-title {
    position: relative;
    margin: 0;
    padding: 0 0 13px;
    border-bottom: 1px solid #dedede;
    color: var(--theme-main);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.4px;
    text-align: left;
}

.new-theme-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 173px;
    height: 3px;
    background: var(--theme-highlight);
}

.new-theme-subtitle {
    margin: 10px 0 25px;
    color: #6c757d;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.5px;
    text-align: left;
}

@media (max-width: 575px) {
    .new-theme-title {
        font-size: 27px;
        padding-bottom: 11px;
    }

    .new-theme-title::after {
        width: 145px;
    }

    .new-theme-subtitle {
        margin-top: 17px;
        font-size: 13px;
        line-height: 1.7;
    }
}
/*  Catalogue Cards */
.catalogue-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(73, 97, 135, 0.20);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(73, 97, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.catalogue-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-secondary);
    box-shadow: 0 14px 30px rgba(73, 97, 135, 0.16);
}

.catalogue-card__image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 275px;
    padding: 22px;
    overflow: hidden;
    background: #f4f7fb;
    border-bottom: 3px solid var(--theme-main);
    text-decoration: none;
}

.catalogue-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.catalogue-card:hover .catalogue-card__image {
    transform: scale(1.045);
}

.catalogue-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 9px;
    background: var(--theme-main);
    color: #ffffff;
    border-radius: 5px;
    border-left: 3px solid var(--theme-primary);
    font-family: var(--font-base);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(30, 32, 34, 0.12);
}

.catalogue-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
}


.catalogue-card__title {
    position: relative;
    margin: 0 0 20px;
    padding-left: 11px;
    border-left: 3px solid var(--theme-primary);
    color: var(--theme-main);
    font-family: var(--font-base);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.catalogue-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid var(--theme-primary);
    border-radius: 5px;
    background: var(--theme-primary);
    color: #ffffff !important;
    font-family: var(--font-base);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(247, 130, 34, 0.16);
    transition: background 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease, transform 0.25s ease;
}

.catalogue-card__button:hover,
.catalogue-card__button:focus,
.catalogue-card__button:active {
    background: var(--theme-secondary) !important;
    border-color: var(--theme-secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 12px rgba(0, 98, 189, 0.20);
}

.catalogue-card__button:hover {
    transform: translateY(-1px);
}

.catalogue-card__button i {
    font-size: 14px;
    line-height: 1;
}

.catalogue-card__button:focus-visible,
.catalogue-card__image-link:focus-visible {
    outline: 2px solid var(--theme-secondary);
    outline-offset: 3px;
}

/* Email Modal */
.catalogue-modal {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.catalogue-modal .modal-header {
    border-bottom: 3px solid var(--theme-primary);
    background: #f4f7fb;
}

.catalogue-modal .modal-title {
    color: var(--theme-main);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 700;
}

.catalogue-modal .form-control {
    min-height: 44px;
    font-family: var(--font-base);
    font-size: 14px;
}

.catalogue-modal .form-control:focus {
    border-color: var(--theme-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 98, 189, 0.15);
}

.catalogue-modal .modal-footer {
    border-top: 0;
}

.catalogue-modal .catalogue-card__button {
    margin-top: 0;
    cursor: pointer;
}

.catalogue-modal .catalogue-card__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tablet */
@media (max-width: 991px) {
    .catalogue-card__image-link {
        height: 230px;
        padding: 16px;
    }

    .catalogue-card__body {
        padding: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .catalogue-card {
        border-radius: 9px;
    }

    .catalogue-card__image-link {
        height: 185px;
        padding: 12px;
    }

    .catalogue-card__number {
        top: 9px;
        left: 9px;
        min-width: 31px;
        height: 26px;
        font-size: 10px;
    }

    .catalogue-card__body {
        padding: 12px;
    }


    .catalogue-card__title {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.5;
    }

    .catalogue-card__button {
        min-height: 39px;
        padding: 9px 6px;
        gap: 6px;
        font-size: 11px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .catalogue-card__image-link {
        height: 150px;
        padding: 9px;
    }

    .catalogue-card__body {
        padding: 10px;
    }

    .catalogue-card__title {
        font-size: 12px;
    }

    .catalogue-card__button {
        min-height: 36px;
        font-size: 10px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .catalogue-card,
    .catalogue-card__image,
    .catalogue-card__button {
        transition: none;
    }

    .catalogue-card:hover,
    .catalogue-card:hover .catalogue-card__image,
    .catalogue-card__button:hover {
        transform: none;
    }
}