/* GIDS brand layer on top of the Printop template (main.css). CMYK palette from the GIDS logo. */
:root,
.font-size-style-new:root {
    --gids-cyan: #2BA3DC;
    --gids-magenta: #E6197F;
    --gids-yellow: #F2E01B;
    --gids-black: #0E0E0E;

    --main-h: 330;
    --main-s: 80%;
    --main-l: 50%;
    --primary-new: 330 80% 50%;
    --secondary-new: 54 89% 53%;
    --gradient-main: linear-gradient(90deg, #E6197F 0%, #2BA3DC 100%);
}

.section-bg-gradient-two {
    background: linear-gradient(360deg, rgba(43, 163, 220, 0.03) 0%, rgba(43, 163, 220, 0.09) 25%, rgba(230, 25, 127, 0.08) 50%, rgba(43, 163, 220, 0.09) 75%, rgba(43, 163, 220, 0.03) 100%);
}

.section-bg-gradient {
    background: linear-gradient(360deg, rgba(43, 163, 220, 0) 0%, rgba(43, 163, 220, 0.07) 25%, rgba(230, 25, 127, 0.07) 50%, rgba(242, 224, 27, 0.06) 75%, rgba(43, 163, 220, 0) 100%);
}

.home-style-gradient .section-bg {
    background: rgba(43, 163, 220, 0.06);
}

/* Banner typed word: the template's fixed px width was narrower than the words, so they broke mid-word.
   Reserve space for the longest word (in em, so it scales with the heading) and never wrap. */
.banner-title .typed-text-wrapper {
    display: inline-block;
    width: auto;
    min-width: 4.3em;
    text-align: center !important;
    white-space: nowrap;
    vertical-align: bottom;
}

.banner-title .typed-text {
    white-space: nowrap;
}

/* Logo */
.gids-logo {
    max-width: 170px;
    height: auto;
}

.footer-new .gids-logo {
    max-width: 200px;
}

/* CMYK dashes, as on the business card */
.cmyk-dashes {
    display: inline-flex;
    gap: 8px;
}

.cmyk-dashes span {
    width: 28px;
    height: 6px;
    display: block;
}

.cmyk-dashes span:nth-child(1) { background: var(--gids-cyan); }
.cmyk-dashes span:nth-child(2) { background: var(--gids-magenta); }
.cmyk-dashes span:nth-child(3) { background: var(--gids-yellow); }

/* Toasts (flash messages) */
.toast-message.danger {
    border-inline-start-color: #dc3545;
}

.toast-message.danger .toast-message__icon,
.toast-message.danger .toast-message__title {
    color: #dc3545;
}

.toast-message.danger .progress__bar::before {
    background-color: #dc3545;
}

/* Shared form controls */
.gids-input {
    border: 1px solid var(--neutral-100, #e5e7eb);
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    background: #fff;
    color: var(--heading-color, #111);
    font-weight: 500;
}

.gids-input:focus {
    outline: 0;
    border-color: var(--gids-magenta);
    box-shadow: 0 0 0 3px rgba(230, 25, 127, 0.12);
}

.gids-label {
    font-weight: 600;
    color: var(--heading-color, #111);
    margin-bottom: 8px;
    display: block;
}

/* Product option chips (buttons / radio display types) */
.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-chip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all .2s ease;
}

.option-chip span small {
    color: #6b7280;
    font-weight: 400;
}

.option-chip input:checked + span {
    border-color: var(--gids-magenta);
    background: rgba(230, 25, 127, 0.07);
    color: var(--gids-magenta);
    box-shadow: 0 0 0 2px rgba(230, 25, 127, 0.15);
}

.option-chip input:focus-visible + span {
    outline: 2px solid var(--gids-cyan);
}

.option-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-radio-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
}

.option-radio-list input {
    accent-color: var(--gids-magenta);
    width: 18px;
    height: 18px;
}

.option-radio-list .price-tag {
    margin-inline-start: auto;
    color: #6b7280;
    font-size: 14px;
}

/* Product card image box */
.product-card-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    background: #f5f5f7;
}

.product-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-thumb-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    cursor: pointer;
}

.product-description ul {
    list-style: disc;
    padding-inline-start: 20px;
    margin-bottom: 16px;
}

.product-description p {
    margin-bottom: 12px;
}

/* Account area */
.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--heading-color, #111);
    font-weight: 500;
}

.account-nav a:hover,
.account-nav a.active {
    background: rgba(230, 25, 127, 0.08);
    color: var(--gids-magenta);
}

.cart-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.option-lines {
    font-size: 14px;
    color: #6b7280;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 64px;
    color: var(--gids-magenta);
}

.category-sidebar-btn.is-current {
    background: var(--gradient-main) !important;
}

.category-sidebar-btn.is-current span {
    color: #fff !important;
}

.service-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.bg-cmyk-c { background: var(--gids-cyan); }
.bg-cmyk-m { background: var(--gids-magenta); }
.bg-cmyk-y { background: var(--gids-yellow); color: var(--gids-black) !important; }
.bg-cmyk-k { background: var(--gids-black); }

.pagination .page-link {
    color: var(--gids-black);
}

.pagination .page-item.active .page-link {
    background: var(--gids-magenta);
    border-color: var(--gids-magenta);
    color: #fff;
}

/* Category tiles on the home page: same height whatever the photo's shape */
.category-tile-img {
    aspect-ratio: 274 / 180;
}

.shadow-text {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

/* Category ticker under the banner (jQuery marquee from the template) */
.category-marquee .marquee_left {
    overflow: hidden;
    white-space: nowrap;
}

.category-marquee__item {
    padding-inline: 28px;
    white-space: nowrap;
}

.category-marquee__item:hover {
    color: #fff;
    opacity: .85;
}

.category-marquee__icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: var(--gids-magenta);
    flex-shrink: 0;
}

.category-marquee__star {
    margin-inline-start: 28px;
    color: var(--gids-yellow);
    font-size: 22px;
    display: inline-flex;
}

/* How it works: show all steps without an inner scrollbar, and keep the product sliders inside the box */
.get-started-item-wrapper {
    max-height: none;
    overflow: visible;
    padding-inline-end: 0;
    direction: ltr;
}

.get-started-product-box {
    overflow: hidden;
}

.get-started-product-box .swiper-slide img {
    width: 300px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

/* Preloader in the logo's CMYK colours */
.preloader {
    background: linear-gradient(135deg, #2BA3DC 0%, #E6197F 38%, #F2E01B 72%, #1c1c1c 100%);
}

.preloader .block:nth-child(4n + 1) { background: #2BA3DC; }
.preloader .block:nth-child(4n + 2) { background: #E6197F; }
.preloader .block:nth-child(4n + 3) { background: #F2E01B; }
.preloader .block:nth-child(4n + 4) { background: #1c1c1c; }

.preloader__text {
    line-height: 1;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}

.preloader__drop {
    width: 110px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
    animation: gids-drop-bounce 1.2s ease-in-out infinite;
}

@keyframes gids-drop-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Product card hover button: never wrap or clip the label */
.product-card-cta {
    width: max-content;
    max-width: calc(100% - 24px);
}

.product-card-cta .btn {
    white-space: nowrap;
    overflow: hidden;          /* keep the hover fill inside the pill shape */
    border-radius: 999px;
    isolation: isolate;
}

/* Compact contact strip, centred and overlapping the top edge of the footer */
.gids-contact-strip {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    margin-bottom: -48px;
}

.gids-contact-strip__box {
    max-width: 760px;
    gap: 36px;
    padding: 22px 40px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(230, 25, 127, .25);
}

.gids-contact-strip__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gids-contact-strip__item span {
    font-size: 14px;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gids-contact-strip__item a {
    font-size: 22px;
}

.gids-contact-strip__or {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .25);
}

@media (max-width: 767.98px) {
    .gids-contact-strip__box { gap: 14px; padding: 20px 24px; }
    .gids-contact-strip__item a { font-size: 18px; }
}

/* Shown to admins while maintenance mode is on */
.admin-maintenance-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 10000;
    background: #1c1c1c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    white-space: nowrap;
}

.admin-maintenance-bar i { color: var(--gids-yellow); }

.admin-maintenance-bar a {
    color: var(--gids-yellow);
    font-weight: 600;
    margin-inline-start: 8px;
    text-decoration: underline;
}

/* Footer contact: bigger headings, smaller details */
.footer-contact__title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-contact__value {
    display: inline-block;
    color: var(--neutral-300, #d1d5db);
    font-size: 16px;
    font-weight: 400;
}

.footer-contact__value:hover {
    color: #fff;
}

.footer-contact__note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--neutral-300, #d1d5db);
    font-size: 14px;
    opacity: .85;
}

/* Home banner intro text a little darker for readability */
.banner-desc {
    color: #3b3b44;
}

/* Order tracking progress */
.track-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
}

.track-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(50% + 30px);
    width: calc(100% - 48px);
    height: 3px;
    background: #e5e7eb;
}

.track-step.is-done:not(:last-child)::after {
    background: var(--gids-magenta);
}

.track-step__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #f3f4f6;
    color: #9ca3af;
}

.track-step.is-done .track-step__icon {
    background: rgba(230, 25, 127, .12);
    color: var(--gids-magenta);
}

.track-step.is-current .track-step__icon {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(230, 25, 127, .15);
}

.track-step__label {
    font-weight: 600;
    color: var(--heading-color, #111);
}

.track-step:not(.is-done):not(.is-current) .track-step__label {
    color: #9ca3af;
}

.track-step__text {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 767.98px) {
    .track-steps { grid-template-columns: 1fr; }
    .track-step { flex-direction: row; text-align: start; }
    .track-step:not(:last-child)::after { display: none; }
}

/* About page: GIDS logo that fills with ink on hover / tap */
.logo-fill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 420px;
    padding: 60px 40px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(43, 163, 220, .12), transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(230, 25, 127, .12), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(242, 224, 27, .16), transparent 50%),
        #fff;
    border: 1px solid #eef0f3;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .08);
    cursor: pointer;
    outline: none;
}

.logo-fill__stack {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.logo-fill__stack img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-fill__base {
    filter: grayscale(1);
    opacity: .16;
}

.logo-fill__ink {
    position: absolute;
    inset: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1);
}

.logo-fill:hover .logo-fill__ink,
.logo-fill:focus-visible .logo-fill__ink,
.logo-fill.is-filled .logo-fill__ink {
    clip-path: inset(0 0 0 0);
}

.logo-fill__dashes span {
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .6s ease;
}

.logo-fill:hover .logo-fill__dashes span,
.logo-fill.is-filled .logo-fill__dashes span {
    transform: scaleX(1);
}

.logo-fill:hover .logo-fill__dashes span:nth-child(2) { transition-delay: .15s; }
.logo-fill:hover .logo-fill__dashes span:nth-child(3) { transition-delay: .3s; }

@media (max-width: 767.98px) {
    .logo-fill { min-height: 260px; padding: 40px 24px; }
}

/* CTA feature boxes (icon left, text right) */
.cta-feature {
    padding: 26px 28px;
    border-radius: 20px;
    border: 1px solid #eef0f3;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}

.cta-feature__icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 25, 127, .07);
}

.cta-feature__icon img {
    max-width: 52px;
    height: auto;
}

@media (max-width: 767.98px) {
    .gids-contact-strip { margin-bottom: 24px; }
}

/* Phosphor icon in a CTA feature box, matching the template's purple line icons */
.cta-feature__icon i {
    font-size: 46px;
    color: #7a5af8;
    line-height: 1;
}
