/* hide the theme's own header & footer (keep ours) */
header#header:not(#wpge-header), .ct-header, [data-header] > header,
footer.ct-footer, .ct-footer, footer[data-id]:not(#wpge-footer) { display:none !important; }

:root { --wpge-purple:#7B4BDB; --wpge-ink:#111; }
#wpge-header, #wpge-footer { font-family:'Roboto',Helvetica,Arial,sans-serif; }
#wpge-header a, #wpge-footer a { text-decoration:none; }
#wpge-header img, #wpge-footer img { max-width:100%; }

/* ---------------- header (matches main site) ---------------- */
#wpge-header { background:#fff; position:relative; z-index:99999; display:block !important; visibility:visible !important; opacity:1 !important; }
.wpge-header-inner { max-width:1440px; margin:0 auto; display:flex; align-items:center; gap:34px; padding:18px 28px; }
.wpge-logo { display:inline-flex; align-items:center; }
.wpge-logo img { height:46px; width:auto; display:block; }
.wpge-nav { display:flex; gap:26px; margin-left:auto; flex-wrap:wrap; align-items:center; }
.wpge-nav a { font-family:'Open Sans',sans-serif; font-weight:700; font-size:17px; letter-spacing:normal; color:var(--wpge-purple)!important; text-transform:uppercase; }
.wpge-nav a:hover, .wpge-nav a.wpge-current { color:#6A5ACD!important; }
.wpge-search-form { display:flex; align-items:center; }
.wpge-search-input { width:0; opacity:0; padding:0; border:none; outline:none; font-family:'Open Sans',sans-serif; font-size:14px; transition:width .25s ease,opacity .2s ease,padding .25s ease; }
.wpge-search-form.open .wpge-search-input { width:170px; opacity:1; padding:6px 10px; border:1px solid #ddd; border-radius:4px; margin-right:8px; }
.wpge-tools { display:flex; align-items:center; gap:14px; }
.wpge-ic { color:#111!important; display:inline-flex; }
.wpge-cart-amt { font-size:14px; color:#111!important; font-weight:500; white-space:nowrap; }
#wpge-burger { display:none; background:none; border:none; cursor:pointer; padding:6px; margin-left:auto; }
#wpge-burger span { display:block; width:22px; height:2px; background:#111; margin:5px 0; }
#wpge-mobile-nav { display:none; flex-direction:column; border-top:1px solid #eee; background:#fff; }
#wpge-mobile-nav a { padding:13px 24px; font-weight:700; font-size:14px; letter-spacing:.5px; color:var(--wpge-purple)!important; text-transform:uppercase; border-bottom:1px solid #f3f3f3; }
@media (max-width:1100px){
  .wpge-nav, .wpge-tools { display:none; }
  #wpge-burger { display:block; }
  #wpge-mobile-nav.open { display:flex; }
  .wpge-header-inner { padding:14px 18px; }
  .wpge-logo img { height:36px; }
}

/* ---------------- footer (matches main site) ---------------- */
#wpge-footer { background:#efefef; margin-top:60px; border-top:1px solid #e2e2e2; border-bottom:4px solid var(--wpge-purple); }
#wpge-footer h3, #wpge-footer h4, .wpge-art-title, .wpge-foot-nav1 a { font-family:'Oswald',sans-serif; }
.wpge-foot-top { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:360px 1fr; gap:30px; padding:44px 28px 26px; align-items:start; }
.wpge-logo-foot img { height:64px; width:auto; }
.wpge-foot-nav1 { display:flex; gap:26px; flex-wrap:wrap; justify-content:flex-end; }
.wpge-foot-nav1 a { font-weight:600; font-size:16px; letter-spacing:1px; color:var(--wpge-purple)!important; text-transform:uppercase; }
.wpge-foot-rule { height:1px; background:#c9c9c9; margin:20px 0; }
.wpge-foot-nav2 { display:flex; gap:26px; flex-wrap:wrap; justify-content:flex-end; }
.wpge-foot-nav2 a { font-size:14px; color:var(--wpge-purple)!important; letter-spacing:.3px; text-transform:uppercase; font-weight:500; }
.wpge-foot-nav1 a:hover, .wpge-foot-nav2 a:hover { color:#111!important; }

.wpge-foot-main { max-width:1440px; margin:0 auto; background:#fff; display:grid; grid-template-columns:1.1fr 1.2fr 1.1fr .8fr; gap:38px; padding:44px 28px; border-top:3px solid var(--wpge-purple); }
.wpge-foot-main h3 { font-weight:700; font-size:20px; letter-spacing:.5px; color:#111; margin:0 0 18px; text-transform:uppercase; }
.wpge-foot-about p { color:var(--wpge-purple); line-height:1.75; font-size:15px; margin:0 0 20px; font-family:'Roboto',sans-serif; }
.wpge-social { display:flex; gap:10px; flex-wrap:wrap; }
.wpge-social a { width:44px; height:44px; border-radius:8px; background:var(--wpge-purple); display:inline-flex; align-items:center; justify-content:center; }
.wpge-social a svg { width:20px; height:20px; }
.wpge-social a:hover { filter:brightness(.8); }
.wpge-art { display:block; margin-bottom:18px; }
.wpge-art-title { display:block; font-weight:600; font-size:18px; line-height:1.35; color:#111; }
.wpge-art:hover .wpge-art-title { color:var(--wpge-purple); }
.wpge-art-meta { display:block; margin-top:5px; font-size:12.5px; font-weight:700; letter-spacing:.4px; color:#111; font-family:'Roboto',sans-serif; }
.wpge-art-cat { color:#111; }
.wpge-art-empty, .wpge-sub-text { color:#555; font-size:14px; line-height:1.7; }
.wpge-art-empty a { color:var(--wpge-purple)!important; text-decoration:underline; }

.wpge-foot-copy { max-width:1440px; margin:0 auto; background:#fff; text-align:center; color:var(--wpge-purple); font-size:15px; padding:8px 28px 30px; border-top:1px solid #ddd; }

.wpge-foot-brands { background:#efefef; border-top:3px solid var(--wpge-purple); padding:30px 28px 40px; text-align:center; }
.wpge-foot-brands h4 { font-size:17px; letter-spacing:1.5px; color:#222; margin:0 0 20px; font-weight:600; text-transform:uppercase; }
.wpge-brands-list { max-width:1240px; margin:0 auto; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 14px; }
.wpge-brands-list a { color:var(--wpge-purple)!important; font-size:14px; letter-spacing:.6px; text-transform:uppercase; font-family:'Roboto',sans-serif; }
.wpge-brands-list a:hover { color:#111!important; }
.wpge-sep { color:#999; }

@media (max-width:1000px){
  .wpge-foot-top { grid-template-columns:1fr; }
  .wpge-foot-nav1, .wpge-foot-nav2 { justify-content:flex-start; }
  .wpge-foot-main { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .wpge-foot-main { grid-template-columns:1fr; gap:30px; }
  .wpge-logo-foot img { height:44px; }
}

/* ---------------- subscribe form ---------------- */
.wpge-subscribe-form { display:flex; margin-top:14px; max-width:320px; }
.wpge-subscribe-input { flex:1; padding:10px 12px; border:1px solid #ccc; border-right:none; border-radius:4px 0 0 4px; font-family:'Roboto',sans-serif; font-size:13px; outline:none; }
.wpge-subscribe-btn { padding:10px 16px; border:none; border-radius:0 4px 4px 0; background:var(--wpge-purple); color:#fff; font-weight:700; font-size:13px; text-transform:uppercase; cursor:pointer; white-space:nowrap; }
.wpge-subscribe-btn:hover { opacity:.85; }
.wpge-subscribe-btn:disabled { opacity:.6; cursor:default; }
.wpge-subscribe-msg { margin-top:8px; font-size:13px; }
.wpge-subscribe-msg.wpge-sub-ok { color:#1a7a1a; }
.wpge-subscribe-msg.wpge-sub-err { color:#b00020; }
