/* ============================================================
   Gazebo Product Showcase — Styles
   ============================================================ */

/* --- Reset & Container --- */
.gps-showcase {
    --gps-primary:   #1a1a1a;
    --gps-accent:    #e63946;
    --gps-accent-hover: #c5303c;
    --gps-bg:        #ffffff;
    --gps-bg-alt:    #f7f7f8;
    --gps-text:      #2d2d2d;
    --gps-text-muted:#6b7280;
    --gps-border:    #e5e7eb;
    --gps-radius:    15px;
    --gps-shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --gps-shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --gps-transition: .3s cubic-bezier(.4,0,.2,1);

    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gps-text);
    line-height: 1.6;
}

.gps-showcase *, .gps-showcase *::before, .gps-showcase *::after {
    box-sizing: border-box;
}

/* --- Header --- */
.gps-header {
    text-align: center;
    margin-bottom: 36px;
}
.gps-main-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -.02em;
    color: var(--gps-primary);
}
.gps-intro {
    max-width: 680px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--gps-text-muted);
}

/* --- Toggle --- */
.gps-toggle-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 40px;
}
.gps-toggle-btn {
    position: relative;
    min-width: 180px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    transition: opacity var(--gps-transition);
    white-space: nowrap;
    text-align: center;
    outline: none;
}

/* Plain Colour button — white border + white text */
.gps-toggle-btn-plain {
    border: 2px solid #fff;
    color: #fff;
	border-radius: 10px;
}
.gps-toggle-btn-plain:hover {
    opacity: 0.7;
    background-color: transparent;
    color: #fff;
}

/* Custom Printed button — gradient border via pseudo + gradient text */
.gps-toggle-btn-custom {
    border: 2px solid transparent;
	border-radius: 10px;
    color: #fff;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image:
        linear-gradient(#1a1a1a, #1a1a1a),
        linear-gradient(135deg, #8a2be2, #00ced1);
}
.gps-toggle-btn-custom span,
.gps-toggle-btn-custom {
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Re-apply gradient border since text gradient overrides background */
.gps-toggle-btn-custom {
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    background: transparent;
    border: none;
    padding: 0;
}
/* Use a wrapper approach with ::before for border and inner for text */
.gps-toggle-btn-custom {
    position: relative;
    padding: 14px 32px;
    border: none;
    background: transparent;
}
.gps-toggle-btn-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.gps-toggle-btn-custom {
    color: transparent;
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gps-toggle-btn-custom:hover {
    opacity: .8;
}

/* Active state — slight brightness boost */
.gps-toggle-btn.gps-toggle-active {
    opacity: 1;
}

/* --- Tab Content --- */
.gps-tab-content {
    display: none;
    animation: gpsFadeIn .4s ease;
}
.gps-tab-visible {
    display: block;
}
@keyframes gpsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Section Title --- */
.gps-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #fff;
}

/* --- Preview Image --- */
.gps-preview-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    overflow: visible;
}
.gps-preview-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    transition: opacity .25s ease;
}
.gps-preview-img.gps-img-loading {
    opacity: .4;
}
.gps-preview-img-container {
	position: relative;
	max-width: 500px;
	margin: auto;
}
#preview-frame,
.item-img-frame {
	position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
	mask-position: center center;
    mask-size: cover;
    mask-repeat: no-repeat;
}

/* --- Floating Labels with Icons --- */
.gps-floating-labels {
    position: absolute;
    top: 0;
    left: -80px;
    right: -80px;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
	width: 100%;
	margin: auto;
}
.gps-fl {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: gpsLabelFadeIn .4s ease;
}
@keyframes gpsLabelFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.gps-fl-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
    line-height: 1.2;
}
.gps-fl-line {
    display: block;
    width: 100%;
    min-width: 120px;
    height: 1px;
    background: rgba(255,255,255,.45);
    margin: 6px 0;
}
.gps-fl-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Positions */
.gps-fl-roof {
    top: 17%;
    left: 0;
    align-items: flex-start;
	width: 300px;
}
.gps-fl-wall {
    top: 45%;
    left: 0;
    align-items: flex-start;
	width: 150px;
}
.gps-fl-half {
    top: 55%;
    right: 0;
    left: auto;
    align-items: flex-end;
	width: 150px;
}
.gps-fl-half .gps-fl-text {
    text-align: right;
}
.gps-fl-half .gps-fl-line {
    margin-left: auto;
}
.gps-fl-half .gps-fl-icon {
    align-self: flex-end;
}
.gps-fl-other {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

/* Hide floating labels on small screens */
@media (max-width: 640px) {
    .gps-floating-labels {
        display: none;
    }
}

/* --- Color Swatches --- */
.gps-color-swatches {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.gps-swatch {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    outline: none;
}
.gps-swatch:hover {
    transform: scale(1.15);
}
.gps-swatch.gps-swatch-active {
    border-color: var(--gps-primary);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gps-primary);
}
.gps-swatch-border {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid var(--gps-border);
}

/* --- Configuration Grid --- */
.gps-config-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.gps-config-card {
    background: transparent;
    border: 2px solid var(--gps-border);
    border-radius: var(--gps-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color var(--gps-transition), box-shadow var(--gps-transition);
}
.gps-config-card:hover {
    border-color: #bbb;
    box-shadow: var(--gps-shadow-md);
}
/* Gradient border for active card using pseudo-element */
.gps-config-card.gps-config-active {
    border-color: transparent;
    box-shadow: none;
}
.gps-config-card.gps-config-active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--gps-radius);
    padding: 2px;
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.gps-config-img-wrap {
    position: relative;
    margin-bottom: 10px;
}
.gps-config-thumb {
    width: 100%;
    max-width: 160px;
    height: auto;
}
.gps-config-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 24px;
    margin-bottom: 6px;
    min-height: 48px;
}
.gps-config-desc {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* --- Buttons --- */
.gps-btn {
    display: inline-block;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background var(--gps-transition), color var(--gps-transition), border-color var(--gps-transition), transform .15s ease;
    cursor: pointer;
}
.gps-btn-shop {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.gps-btn-shop:hover {
    background: transparent;
    border-color: #00adee;
    color: #00adee;
    transform: translateY(-1px);
    text-decoration: none;
}

/* --- Custom Printed Top (Preview + Info side by side) --- */
.gps-custom-top {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 auto 40px;
}
.gps-preview-wrap-custom {
    position: relative;
    flex: 0 0 auto;
    max-width: 50%;
    margin: 0;
	border: 2px solid transparent;
    border-radius: var(--gps-radius);
    background-color: #000000;
}
.gps-preview-wrap-custom:before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--gps-radius);
    padding: 2px;
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.gps-preview-wrap-custom .gps-preview-img {
    max-width: 100%;
    border-radius: var(--gps-radius);
}
.gps-custom-info {
    flex: 1;
}
.gps-custom-heading {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
.gps-custom-desc {
    font-size: 20px;
    color: #fff;
    margin: 0 0 16px;
}

/* Badges */
.gps-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gps-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 16px;
    font-weight: 600;
    background: #494a4a;
    border: none;
    border-radius: 999px;
    color: #fff;
}

/* --- Custom Printed Card Overrides --- */
.gps-config-card-custom {
    background: #494a4a;
    border-color: #494a4a;
    border-radius: var(--gps-radius);
}
.gps-config-card-custom .gps-btn-shop {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 10px;
}

/* --- Other Branding --- */
.gps-branding-section {
    margin-top: 120px;
    text-align: center;
}
.gps-branding-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #596cb3, #e66daa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 28px;
    display: inline-block;
}
.gps-branding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
}
.gps-branding-card {
    background: transparent;
    border-radius: var(--gps-radius);
    text-decoration: none;
    color: var(--gps-text);
    transition: box-shadow var(--gps-transition), transform .15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gps-branding-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
/* Gradient border wrapper around image area */
.gps-branding-card-inner {
    position: relative;
    border-radius: var(--gps-radius);
    padding: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gps-branding-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--gps-radius);
    padding: 2px;
    background: linear-gradient(135deg, #8a2be2, #00ced1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.gps-branding-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
}
/* Label sits outside the border box */
.gps-branding-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-top: 14px;
    transition: color var(--gps-transition);
}
.gps-branding-card:hover .gps-branding-label {
    color: #00adee;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .gps-config-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .gps-showcase {
        padding: 24px 16px 40px;
    }
    .gps-main-title {
        font-size: 24px;
    }
    .gps-section-title {
        font-size: 20px;
    }
    .gps-config-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .gps-custom-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .gps-preview-wrap-custom {
        max-width: 280px;
    }
    .gps-badges {
        justify-content: center;
    }
    .gps-toggle-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 150px;
    }
    .gps-branding-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}
@media (max-width: 480px) {
    .gps-config-grid {
        grid-template-columns: 1fr !important;
        max-width: 320px;
		margin-left: auto;
		margin-right: auto;
    }
    .gps-swatch {
        width: 30px;
        height: 30px;
    }
}

/* ============================================================
   Gazebo Info Box
   ============================================================ */
.gps-info-box {
    display: inline-block;
    width: 100%;
}
.gps-info-box-inner {
    position: relative;
    background-color: #f2f2f2;
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 25px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.gps-info-box-inner:hover {
    border-color: rgba(0,206,209,.5);
    box-shadow: 0 4px 24px rgba(0,206,209,.12);
}

/* Content wrapper — slides up on hover to make room for buttons */
.gps-info-box-content {
    transition: transform .35s ease;
}
.gps-info-box-inner:hover .gps-info-box-content {
    transform: translateY(-38px);
}

/* Image */
.gps-info-box-img {
    margin-bottom: 16px;
}
.gps-info-box-img img {
    width: 100%;
    height: auto;
    transition: transform .3s ease;
}

/* Title */
.gps-info-box-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
}

/* Description */
.gps-info-box-desc {
    font-size: 13px;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

/* Buttons — positioned at bottom, hidden by default */
.gps-info-box-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .35s ease;
    pointer-events: none;
}
.gps-info-box-inner:hover .gps-info-box-buttons {
    opacity: 1;
    transform: translateY(-38px);
    pointer-events: auto;
}
.gps-info-box-btn {
    display: inline-block;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
    white-space: nowrap;
}
.gps-info-box-btn-learn {
    background-color: #fff;
    color: #00adee;
    border: 2px solid #00adee;
}
.gps-info-box-btn-learn:hover {
    border-color: #00adee;
    color: #00adee;
    text-decoration: none;
}
.gps-info-box-btn-buy {
    background: #00adee;
    color: #fff;
    border: 2px solid #00adee;
}
.gps-info-box-btn-buy:hover {
    background: #0090cc;
    border-color: #0090cc;
    color: #fff;
    text-decoration: none;
}

/* Info Box Responsive */
@media (max-width: 480px) {
    .gps-info-box {
        max-width: 100%;
    }
    .gps-info-box-buttons {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (min-width: 768px) {
	.gps-info-box-action {
		position: absolute;
		left: 20px;
		right: 20px;
	}
}
@media (max-width: 1200px) {
	.gazebo-tabs .vc_col-sm-1 {
		display: none;
	}
	.gazebo-tabs .vc_col-sm-10 {
		width: 100%;
	}
}
@media (min-width: 991px) and (max-width: 1200px) {
    .gazebo-tabs .vc_col-sm-3, .gazebo-tabs .vc_col-sm-4 {
        width: 33.33333333%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .gazebo-tabs .vc_col-sm-3, .gazebo-tabs .vc_col-sm-4 {
        width: 50%;
    }
}