
.gsc-exp-page,.gsc-exp-page *{box-sizing:border-box}
.gsc-exp-page{width:min(1880px,calc(100% - 48px));margin:0 auto;color:#202a4b}

/* Full-width catalog toolbar. Tabs stay left; sorting occupies the right end. */
.gsc-exp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin:0 0 20px}
.gsc-exp-filters{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:12px;min-width:0}
.gsc-exp-filter{border:1px solid #e2e6f0;background:#f7f8fc;color:#25325e;border-radius:14px;padding:14px 22px;font-weight:800;cursor:pointer;line-height:1;white-space:nowrap}
.gsc-exp-filter.is-active,.gsc-exp-filter:hover{border-color:#ef3e96;background:#ef3e96;color:#fff;box-shadow:0 8px 20px rgba(239,62,150,.14)}
.gsc-exp-sortbox{flex:0 0 auto;margin-left:auto}
.gsc-exp-sort{min-width:180px;height:44px;padding:0 42px 0 16px;border:1px solid #e2e6f0;border-radius:14px;background:#fff;color:#25325e;font-weight:800;cursor:pointer;box-shadow:0 5px 16px rgba(24,38,83,.035)}

/* Banner begins at exactly the same vertical level as the cards. */
.gsc-exp-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:26px;align-items:start}
.gsc-exp-main{min-width:0}
.gsc-exp-grid{display:grid;gap:18px;align-items:start;justify-content:start}
.gsc-exp-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
.gsc-exp-grid--3{grid-template-columns:repeat(3,minmax(280px,360px))}

.gsc-exp-card{display:block;align-self:start;min-width:0;overflow:hidden;border:1px solid #e2e6f0;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(24,38,83,.05)}
.gsc-exp-card__media{display:flex;width:100%;aspect-ratio:1/1;overflow:hidden;align-items:center;justify-content:center;background:#fff}
.gsc-exp-card__media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0;padding:0;border:0;max-width:none}
.gsc-exp-card__media span{color:#8b93a7}
.gsc-exp-card__body{padding:15px 16px 16px}
.gsc-exp-card__heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
.gsc-exp-card__heading h3{min-width:0;margin:0;color:#1c2850;font-size:20px;line-height:1.15;font-weight:700}
.gsc-exp-card__heading span{flex:0 0 auto;color:#26335f;font-size:14px;font-weight:800;text-transform:uppercase;white-space:nowrap}
.gsc-exp-card__actions{display:flex;align-items:center;gap:10px}
.gsc-exp-card__buy{display:flex;align-items:center;justify-content:center;flex:1 1 auto;width:100%;min-width:0;min-height:44px;padding:10px 12px;border-radius:12px;background:linear-gradient(180deg,#ff783b,#ff5a2a);box-shadow:0 9px 18px rgba(255,90,42,.16);color:#fff!important;font-size:13px;font-weight:800;line-height:1.1;text-decoration:none!important}
.gsc-exp-card__details{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:110px;min-height:44px;padding:10px 14px;border:1px solid #dfe4ef;border-radius:12px;background:#fff;color:#25325e!important;font-size:13px;font-weight:800;line-height:1.1;text-decoration:none!important}
.gsc-exp-card__details:hover{border-color:#ef3e96;color:#ef3e96!important}
.gsc-exp-card__actions:not(.has-details) .gsc-exp-card__buy{width:100%}

.gsc-exp-side{position:sticky;top:28px;width:100%}
body.admin-bar .gsc-exp-side{top:72px}
.gsc-exp-side__text{margin:8px 4px 26px;padding:4px 4px;color:var(--gsc-side-text-color,#66708b);font-size:var(--gsc-side-text-size,22px);line-height:var(--gsc-side-line-height,1.25);letter-spacing:var(--gsc-side-letter-spacing,0px)}
.gsc-exp-side__text p{margin:0 0 var(--gsc-side-paragraph-gap,6px);color:inherit;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important}
.gsc-exp-side__text p:last-child{margin-bottom:0}
.gsc-exp-side__text span,.gsc-exp-side__text strong,.gsc-exp-side__text b,.gsc-exp-side__text em,.gsc-exp-side__text i,.gsc-exp-side__text a{font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important}
.gsc-exp-side__text a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.gsc-exp-side__text strong,.gsc-exp-side__text b{font-weight:800}
.gsc-exp-side__text em,.gsc-exp-side__text i{font-style:italic}
.gsc-exp-side__text ul,.gsc-exp-side__text ol{margin:8px 0 12px 22px}
.gsc-exp-side__banner{width:100%;overflow:hidden;border:1px solid #e7eaf2;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(25,39,86,.07)}
.gsc-exp-side__banner a{display:block}
.gsc-exp-side__banner img{display:block;width:100%;height:auto;margin:0}

.gsc-exp-page + .entry-footer,.gsc-exp-page ~ .entry-footer,.gsc-exp-page + .entry-meta,.gsc-exp-page ~ .entry-meta,.gsc-exp-page + .post-meta,.gsc-exp-page ~ .post-meta,.gsc-exp-page + .post-footer,.gsc-exp-page ~ .post-footer,.gsc-exp-page + .edit-link,.gsc-exp-page ~ .edit-link{display:none!important}

@media(max-width:1500px){
  .gsc-exp-page{width:min(100% - 32px,1880px)}
  .gsc-exp-layout{grid-template-columns:minmax(0,1fr) 360px}
  .gsc-exp-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1220px){
  .gsc-exp-toolbar{align-items:flex-start}
  .gsc-exp-layout{grid-template-columns:minmax(0,1fr) 300px}
  .gsc-exp-grid--4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gsc-exp-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .gsc-exp-toolbar{flex-direction:column;align-items:stretch}
  .gsc-exp-sortbox{margin-left:0;align-self:flex-end}
  .gsc-exp-layout{grid-template-columns:1fr}
  .gsc-exp-side{position:static;width:min(440px,100%)}
  .gsc-exp-grid--4,.gsc-exp-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .gsc-exp-page{width:calc(100% - 24px)}
  .gsc-exp-grid--4,.gsc-exp-grid--3{grid-template-columns:1fr}
  .gsc-exp-filter{padding:12px 16px}
  .gsc-exp-sortbox{align-self:stretch}
  .gsc-exp-sort{width:100%}
}

@media(max-width:620px){
  .gsc-exp-card__actions.has-details{flex-direction:column;align-items:stretch}
  .gsc-exp-card__details{width:100%}
}


/* v0.1.19 — code + Chinese name + cart, all on one line */
.gsc-exp-card__body--compact {
    padding: 13px 15px 14px !important;
}

.gsc-exp-card__compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.gsc-exp-card__identity {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    color: #1c2850 !important;
    text-decoration: none !important;
    line-height: 1.15;
}

a.gsc-exp-card__identity:hover {
    color: #ef3e96 !important;
}

.gsc-exp-card__code-inline {
    flex: 0 0 auto;
    color: inherit;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.gsc-exp-card__name-inline {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gsc-exp-card__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(180deg,#ff783b,#ff5a2a);
    box-shadow: 0 8px 16px rgba(255,90,42,.18);
    color: #fff !important;
    font-size: 21px;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease;
}

.gsc-exp-card__cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255,90,42,.24);
}

/* Old grid controls are intentionally hidden in compact cards. */
.gsc-exp-card__body--compact .gsc-exp-card__heading,
.gsc-exp-card__body--compact .gsc-exp-card__actions,
.gsc-exp-card__body--compact .gsc-exp-card__buy,
.gsc-exp-card__body--compact .gsc-exp-card__details {
    display: none !important;
}

@media(max-width:620px){
    .gsc-exp-card__body--compact {
        padding: 12px 13px 13px !important;
    }
    .gsc-exp-card__code-inline {
        font-size: 15px;
    }
    .gsc-exp-card__name-inline {
        font-size: 17px;
    }
    .gsc-exp-card__cart {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}


/* v0.1.20 — softer site-themed cart button */
.gsc-exp-card__cart{
    width:52px;
    height:52px;
    border-radius:16px;
    border:1px solid #f1bfd8;
    background:linear-gradient(180deg,#ff7fbe 0%, #ef4f9c 100%);
    box-shadow:0 10px 20px rgba(239,79,156,.18), inset 0 1px 0 rgba(255,255,255,.28);
    color:#ffffff !important;
    font-size:0;
}
.gsc-exp-card__cart:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 24px rgba(239,79,156,.24), inset 0 1px 0 rgba(255,255,255,.3);
    background:linear-gradient(180deg,#ff8ac4 0%, #f257a2 100%);
}
.gsc-exp-card__cart:focus-visible{
    outline:none;
    box-shadow:0 0 0 4px rgba(239,79,156,.18), 0 10px 20px rgba(239,79,156,.18), inset 0 1px 0 rgba(255,255,255,.28);
}
.gsc-exp-card__cart-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
}
.gsc-exp-card__cart-icon svg{
    width:22px;
    height:22px;
    display:block;
}
@media(max-width:620px){
    .gsc-exp-card__cart{
        width:48px;
        height:48px;
        border-radius:14px;
    }
    .gsc-exp-card__cart-icon,
    .gsc-exp-card__cart-icon svg{
        width:20px;
        height:20px;
    }
}


/* v0.1.21 — tighter spacing around sidebar text */
.gsc-exp-side {
    top: 16px !important;
}

body.admin-bar .gsc-exp-side {
    top: 48px !important;
}

.gsc-exp-side__text {
    margin: 0 4px 14px !important;
    padding: 0 4px !important;
}

.gsc-exp-side__text p {
    margin-top: 0 !important;
}

.gsc-exp-side__text p:last-child {
    margin-bottom: 0 !important;
}
