/*
Theme Name: High Point Professional
Theme URI: https://hipointinternational.com/
Author: High Point International LLC
Description: Bespoke furniture and furnishing WordPress theme with bilingual split branding, showcase homepage, card-based product categories, dedicated product pages, responsive design and no page-builder dependency.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: highpoint-professional
*/

:root{
  --hp-black:#050505;
  --hp-ink:#121212;
  --hp-white:#fff;
  --hp-paper:#f8f5ef;
  --hp-red:#e01e2f;
  --hp-gold:#e8ad27;
  --hp-muted:#666;
  --hp-line:#ddd7ce;
  --hp-container:min(1360px,calc(100% - 44px));
  --hp-shadow:0 16px 36px rgba(0,0,0,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--hp-paper);color:var(--hp-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.hp-container{width:var(--hp-container);margin-inline:auto}
.hp-kicker{margin:0 0 7px;color:var(--hp-red);font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.hp-gold-rule,.hp-red-rule{display:block;width:70px;height:2px;background:var(--hp-gold);margin-top:8px}
.hp-red-rule{background:var(--hp-red);margin:18px 0 24px}
.hp-section{padding:82px 0}
.hp-section--white{background:#fff}

/* Top utility bar */
.hp-topbar{background:#030303;color:#fff;font-size:.78rem}
.hp-topbar-inner{min-height:46px;display:flex;justify-content:space-between;align-items:center;gap:30px}
.hp-topbar-left,.hp-topbar-right{display:flex;align-items:center;gap:28px}
.hp-topbar-left>a,.hp-topbar-left>span{display:flex;align-items:center;gap:7px}
.hp-topbar-left>a::first-letter,.hp-topbar-left>span::first-letter{color:var(--hp-gold)}
.hp-topbar-right{gap:14px}
.hp-topbar a:hover{color:var(--hp-gold)}

/* Split bilingual brand area */
.hp-brandbar{background:#fff}
.hp-brandbar-inner{height:162px;display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;gap:44px}
.hp-brand{display:flex;align-items:center}
.hp-brand--en{justify-content:flex-start}
.hp-brand--ar{justify-content:flex-end}
.hp-brand img{width:auto;max-height:125px;object-fit:contain}
.hp-brand--en img{max-width:390px}
.hp-brand--ar img{max-width:490px}
.hp-brand-divider{height:80px;background:#1e1e1e;opacity:.75}

/* Navigation */
.hp-navrow{background:#050505;color:#fff}
.hp-navrow-inner{min-height:52px;display:flex;align-items:stretch;gap:18px}
.hp-nav{flex:1}
.hp-menu{list-style:none;margin:0;padding:0;display:flex;align-items:stretch;gap:0;height:100%}
.hp-menu li{display:flex;align-items:stretch}
.hp-menu a{display:flex;align-items:center;padding:0 25px;min-height:52px;font-size:.78rem;font-weight:800;text-transform:uppercase;position:relative;white-space:nowrap}
.hp-menu a:hover,.hp-menu .current-menu-item>a,.hp-menu .current_page_item>a{color:var(--hp-gold)}
.hp-menu .current-menu-item>a::after,.hp-menu .current_page_item>a::after,.home .hp-menu li:first-child>a::after{
  content:"";position:absolute;left:25px;right:25px;bottom:0;height:3px;background:var(--hp-gold)
}
.hp-header-cta{align-self:center;background:var(--hp-red);color:#fff;padding:11px 24px;border-radius:3px;font-size:.78rem;font-weight:800;text-transform:uppercase;white-space:nowrap}
.hp-header-cta:hover{background:#bd1222}
.hp-menu-toggle{display:none;background:transparent;border:0;color:#fff;width:48px;cursor:pointer}
.hp-menu-toggle span{display:block;height:2px;background:currentColor;margin:6px}

/* Hero */
.hp-hero{background:#f6f1ea}
.hp-hero-inner{display:grid;grid-template-columns:42% 58%;min-height:355px}
.hp-hero-copybox{padding:48px 52px 44px 28px;display:flex;flex-direction:column;justify-content:center}
.hp-hero h1{margin:0;font-size:clamp(2.65rem,4.1vw,4.25rem);line-height:1.055;letter-spacing:-.035em;font-weight:800;max-width:620px}
.hp-hero-copy{margin:0 0 24px;color:#555;font-size:1rem;max-width:560px}
.hp-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 18px;border:1px solid transparent;font-weight:800;font-size:.78rem;text-transform:uppercase;transition:.25s ease}
.hp-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.12)}
.hp-btn--dark{background:#070707;color:#fff}
.hp-btn--light{background:#fff;border-color:#8b8b8b;color:#111}
.hp-btn--gold{background:var(--hp-gold);color:#111}
.hp-hero-visual{position:relative;overflow:hidden;min-height:355px}
.hp-hero-visual::before{content:"";position:absolute;left:0;top:0;bottom:0;width:24%;z-index:1;background:linear-gradient(90deg,#f6f1ea 0%,rgba(246,241,234,.86) 30%,rgba(246,241,234,0) 100%)}
.hp-hero-visual img{width:100%;height:100%;object-fit:cover}
.hp-slider-dots{position:absolute;z-index:2;left:84px;bottom:18px;display:flex;gap:8px}
.hp-slider-dots span{width:13px;height:13px;border-radius:50%;background:#fff;border:1px solid rgba(0,0,0,.08)}
.hp-slider-dots .is-active{background:var(--hp-red)}

/* Section heading */
.hp-category-section{padding:20px 0 22px;background:#fbf8f3}
.hp-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:15px}
.hp-section-heading h2{font-size:1.85rem;line-height:1.05;margin:0;letter-spacing:-.025em}
.hp-outline-link{border:1px solid var(--hp-red);color:var(--hp-red);padding:10px 18px;font-size:.75rem;font-weight:800;text-transform:uppercase;border-radius:3px}
.hp-outline-link:hover{background:var(--hp-red);color:#fff}

/* Category showcase cards */
.hp-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.hp-category-card{background:#fff;border:1px solid #ddd6cd;border-radius:10px;overflow:hidden;box-shadow:0 3px 8px rgba(0,0,0,.08);transition:transform .28s ease,box-shadow .28s ease}
.hp-category-card:hover{transform:translateY(-8px);box-shadow:0 18px 34px rgba(0,0,0,.15)}
.hp-category-image{height:145px;position:relative;overflow:hidden;background:#ddd}
.hp-category-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hp-category-card:hover .hp-category-image img{transform:scale(1.055)}
.hp-category-icon{position:absolute;left:12px;top:10px;width:48px;height:48px;border-radius:50%;background:#060606;color:var(--hp-gold);display:grid;place-items:center;font-size:1.4rem;border:1px solid rgba(232,173,39,.45)}
.hp-category-copy{padding:12px 12px 13px;display:flex;align-items:end;justify-content:space-between;gap:10px}
.hp-category-copy h3{font-size:.92rem;line-height:1.15;margin:0 0 4px}
.hp-category-copy p{font-size:.75rem;color:#555;margin:0}
.hp-card-arrow{color:var(--hp-red);font-size:1.55rem;line-height:1}

/* Service strip */
.hp-service-strip{background:#070707;color:#fff}
.hp-service-grid{display:grid;grid-template-columns:repeat(4,1fr);min-height:82px}
.hp-service-item{display:grid;grid-template-columns:50px 1fr;gap:14px;align-items:center;padding:15px 24px;border-right:1px solid rgba(255,255,255,.2)}
.hp-service-item:last-child{border-right:0}
.hp-service-icon{width:42px;height:42px;color:var(--hp-gold);border:1px solid var(--hp-gold);border-radius:50%;display:grid;place-items:center;font-weight:900}
.hp-service-item strong{display:block;font-size:.87rem}
.hp-service-item small{display:block;color:rgba(255,255,255,.72);font-size:.72rem}

/* Product cards */
.hp-products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:26px}
.hp-product-card{background:#fff;border:1px solid var(--hp-line);border-radius:13px;overflow:hidden;transition:.3s ease}
.hp-product-card:hover{transform:translateY(-7px);box-shadow:var(--hp-shadow)}
.hp-product-media{aspect-ratio:4/3;background:#e7e2d9;overflow:hidden;position:relative;display:grid;place-items:center}
.hp-product-media img{width:100%;height:100%;object-fit:cover;transition:.4s ease}
.hp-product-card:hover .hp-product-media img{transform:scale(1.04)}
.hp-product-media span{color:#777;font-size:.8rem}
.hp-product-copy{padding:17px}
.hp-product-copy h3{margin:0 0 4px;font-size:1.05rem}
.hp-product-copy p{margin:0;color:#666;font-size:.82rem}
.hp-product-label{position:absolute;left:12px;top:12px;background:#090909;color:#fff;padding:6px 9px;font-size:.67rem;font-weight:800;text-transform:uppercase}

/* Project CTA */
.hp-project-cta{background:#efe9df;padding:54px 0}
.hp-project-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.hp-project-cta h2{font-size:clamp(2rem,3.7vw,3.9rem);line-height:1.05;letter-spacing:-.03em;margin:0;max-width:900px}

/* Generic pages / archives */
.hp-page-hero{background:#080808;color:#fff;padding:72px 0 62px}
.hp-page-hero h1{font-size:clamp(2.8rem,5vw,5.2rem);line-height:1.02;letter-spacing:-.03em;margin:0}
.hp-content-wrap{width:min(900px,calc(100% - 40px));margin:0 auto;padding:64px 0 90px}
.hp-content-wrap h2,.hp-content-wrap h3{line-height:1.15;letter-spacing:-.02em}
.hp-content-wrap a{color:var(--hp-red);text-decoration:underline}
.hp-archive-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}
.hp-archive-head p{max-width:560px;color:#666;margin:0}
.hp-filter-row{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}
.hp-filter-pill{padding:9px 14px;border:1px solid var(--hp-line);border-radius:999px;background:#fff;font-size:.82rem;font-weight:700}

/* Single product */
.hp-product-single{padding:66px 0 96px}
.hp-product-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:58px;align-items:start}
.hp-product-hero-image{border-radius:18px;overflow:hidden;background:#e4dfd4;box-shadow:var(--hp-shadow)}
.hp-product-hero-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.hp-product-side{position:sticky;top:82px}
.hp-product-side h1{margin:0 0 12px;font-size:clamp(2.4rem,4.6vw,4.5rem);line-height:1.03;letter-spacing:-.03em}
.hp-product-tax{color:var(--hp-red);font-weight:800;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.hp-product-summary{color:#666;font-size:1rem;margin:20px 0 26px}
.hp-specs{border-top:1px solid var(--hp-line);margin-top:28px}
.hp-spec{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--hp-line);font-size:.9rem}
.hp-spec strong{color:#777;font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}
.hp-product-content{margin-top:58px;background:#fff;padding:36px;border-radius:18px;border:1px solid var(--hp-line)}

/* Footer */
.hp-site-footer{background:#050505;color:#fff;padding:55px 0 24px}
.hp-footer-grid{display:grid;grid-template-columns:1.35fr .75fr .9fr;gap:58px}
.hp-footer-brand img{max-width:250px;max-height:90px;object-fit:contain;margin-bottom:18px}
.hp-footer-brand p,.hp-site-footer p{color:rgba(255,255,255,.62);font-size:.88rem}
.hp-site-footer h3{color:var(--hp-gold);text-transform:uppercase;font-size:.78rem;letter-spacing:.08em}
.hp-footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px;color:rgba(255,255,255,.72)}
.hp-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:rgba(255,255,255,.5);font-size:.75rem}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=url],textarea,select{width:100%;padding:13px;border:1px solid var(--hp-line);border-radius:5px;background:#fff}
textarea{min-height:150px}

/* Responsive */
@media(max-width:1180px){
  .hp-menu a{padding-inline:14px;font-size:.72rem}
  .hp-category-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .hp-topbar-right{display:none}
  .hp-topbar-left{gap:15px;flex-wrap:wrap;padding:8px 0}
  .hp-brandbar-inner{height:125px;gap:20px}
  .hp-brand--en img{max-width:290px}.hp-brand--ar img{max-width:350px}
  .hp-navrow-inner{min-height:54px;align-items:center}
  .hp-menu-toggle{display:block}
  .hp-nav{display:none;position:absolute;left:22px;right:22px;top:auto;margin-top:54px;background:#090909;z-index:99;border:1px solid #2a2a2a}
  .hp-nav.is-open{display:block}
  .hp-menu{display:grid;height:auto}
  .hp-menu li{display:block}
  .hp-menu a{padding:13px 18px;min-height:auto}
  .hp-menu .current-menu-item>a::after,.hp-menu .current_page_item>a::after,.home .hp-menu li:first-child>a::after{display:none}
  .hp-header-cta{margin-left:auto}
  .hp-hero-inner{grid-template-columns:1fr}
  .hp-hero-copybox{padding:52px 22px 38px}
  .hp-hero-visual{min-height:330px}
  .hp-hero-visual::before{display:none}
  .hp-service-grid{grid-template-columns:repeat(2,1fr)}
  .hp-service-item:nth-child(2){border-right:0}
  .hp-products-grid{grid-template-columns:repeat(2,1fr)}
  .hp-product-layout{grid-template-columns:1fr}
  .hp-product-side{position:static}
  .hp-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  :root{--hp-container:min(100% - 26px,1360px)}
  .hp-topbar{display:none}
  .hp-brandbar-inner{height:94px;grid-template-columns:1fr 1px 1fr;gap:10px}
  .hp-brand--en img{max-width:155px;max-height:70px}
  .hp-brand--ar img{max-width:175px;max-height:70px}
  .hp-brand-divider{height:46px}
  .hp-header-cta{padding:10px 13px;font-size:.66rem}
  .hp-hero h1{font-size:clamp(2.6rem,12vw,4rem);line-height:1.08;letter-spacing:-.025em}
  .hp-hero-copy{font-size:.94rem}
  .hp-category-section{padding-top:28px}
  .hp-section-heading{align-items:flex-start;display:grid}
  .hp-category-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .hp-category-image{height:118px}
  .hp-category-copy{padding:10px}
  .hp-category-copy h3{font-size:.83rem}
  .hp-category-copy p{font-size:.68rem}
  .hp-category-icon{width:39px;height:39px;font-size:1.1rem}
  .hp-service-grid,.hp-products-grid,.hp-footer-grid{grid-template-columns:1fr}
  .hp-service-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}
  .hp-project-cta-inner{display:grid}
  .hp-product-content{padding:24px 20px}
  .hp-spec{grid-template-columns:95px 1fr}
}
