@import url('./generated-production.css');
.gc-badge{background:#111827;color:#fff;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700;position:absolute;top:12px;left:12px;z-index:2}
.gc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.gc-card{background:#fff;border-radius:24px;box-shadow:0 20px 50px rgba(8,14,20,.14);overflow:hidden;display:flex;flex-direction:column;height:100%;transition:.18s ease}
.gc-card:hover{transform:translateY(-2px);box-shadow:0 24px 56px rgba(8,14,20,.18)}
.gc-card .category-media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;padding:16px}
.gc-card .category-media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .45s ease;background:#fff}
.gc-card:hover .category-media img{transform:scale(1.05)}
.gc-card .category-body{padding:18px 18px 22px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1}
.gc-card .category-body h3{margin:0;font-size:clamp(20px,1.8vw,24px);line-height:1.18;max-width:100%;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}.gc-card .category-body h3.gc-title-long{font-size:clamp(16px,1.35vw,19px);white-space:nowrap;letter-spacing:-.02em}
.gc-card .category-body p{margin:0;color:#6b7280;font-size:15px;line-height:1.6;min-height:48px}
.gc-card .mini-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border-radius:999px;background:#0f172a;color:#fff;font-size:13px;font-weight:700;margin-top:auto}
.gc-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.gc-page-head h1{margin:0 0 10px;font-size:clamp(34px,4vw,52px);line-height:1.02}
.gc-page-note{margin:0;color:#6b7280;font-size:16px;line-height:1.7;max-width:860px}
.gc-empty{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:26px;display:grid;gap:14px}
.gc-empty h2,.gc-empty h3{margin:0;color:#152132}
.gc-empty p{margin:0;color:#6b7280;line-height:1.7}
.gc-item-shell{display:grid;grid-template-columns:380px minmax(0,1fr);gap:28px;align-items:start}
.gc-media-card{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;gap:18px}
.gc-media-box{aspect-ratio:1/1;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#f5f7fa,#e9eef5);display:flex;align-items:center;justify-content:center;padding:16px}
.gc-media-box img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.gc-request-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;background:#fff;color:#0f172a;border:1px solid var(--line);font-weight:800;box-shadow:0 12px 24px rgba(15,20,25,.08)}
.gc-right{display:flex;flex-direction:column;gap:16px;min-width:0}
.gc-right h1{margin:0;color:#111827;font-size:clamp(30px,3.2vw,46px);line-height:1.04}
.gc-tab{border:none;background:#eef2f6;color:#1b2430;min-height:42px;padding:0 16px;border-radius:14px;font-weight:700;cursor:pointer;transition:.18s ease}
.gc-tab.is-active{background:#DA6E00;color:#fff;box-shadow:0 12px 24px rgba(218,110,0,.22)}
.gc-panel h2{margin:0 0 14px;font-size:24px;color:#152132}
.gc-panel .info-row{display:grid;grid-template-columns:220px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.gc-panel .info-row:last-child{border-bottom:none}
.gc-panel .info-row strong{font-weight:800}
.gc-panel p{margin:0 0 12px;line-height:1.75;color:#111827}
.gc-panel p:last-child{margin-bottom:0}
.gc-rich p,.gc-rich li{line-height:1.75}
.gc-rich ul{padding-left:18px;margin:0 0 12px}
.gc-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#243446;font-size:22px;line-height:1.2;font-weight:800;background:linear-gradient(135deg,#f5f7fa,#e9eef5)}
@media (max-width:1100px){.gc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1000px){.gc-item-shell{grid-template-columns:1fr}.gc-panel .info-row{grid-template-columns:1fr}}
@media (max-width:840px){.gc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.gc-grid{grid-template-columns:1fr}.gc-page-head h1{font-size:clamp(30px,8vw,42px)}}
/* mobile-wrap-fix-catalog: prevent long product names from expanding the viewport */
.gc-right h1,.gc-placeholder,.gc-panel .info-row span,.gc-page-head h1,.gc-page-note,
.gc-card .category-body h3{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;}
.gc-media-card,.gc-right,.gc-panel,.gc-card{min-width:0;max-width:100%;}
.gc-card .category-body h3.gc-title-long{white-space:normal;font-size:clamp(16px,1.35vw,19px);letter-spacing:-.02em;}
@media (max-width:560px){.gc-card .category-body h3.gc-title-long{font-size:18px;letter-spacing:0;}}

/* compact-two-column-mobile-v2: smaller cards with two columns on phone and tablet */
@media (max-width:840px){
  .gc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .gc-card{border-radius:16px;box-shadow:0 12px 26px rgba(8,14,20,.11)}
  .gc-card .category-media{aspect-ratio:1.16/1;padding:7px}
  .gc-card .gc-badge{top:7px;left:7px;padding:5px 7px;font-size:10px}
  .gc-card .category-body{padding:10px 9px 11px;gap:5px}
  .gc-card .category-body h3,.gc-card .category-body h3.gc-title-long{font-size:clamp(13px,2.6vw,16px);line-height:1.2;letter-spacing:0;white-space:normal}
  .gc-card .category-body p{min-height:0;font-size:11.5px;line-height:1.35}
  .gc-card .mini-btn{min-height:33px;padding:0 11px;font-size:11px}
}
@media (max-width:480px){
  .gc-grid{gap:8px!important}
  .gc-card .category-body{min-height:84px;padding:9px 8px 10px}
  .gc-card .category-body h3,.gc-card .category-body h3.gc-title-long{font-size:12.5px}
}
