import{j as e}from"./ui-vendor-CJlQk0Tq.js";import{u as t,L as s,j as r,r as a}from"./react-vendor-f6QdChhz.js";import{S as i}from"./StructureDetails-DonSzy1V.js";import{S as l}from"./SectionHeading-DamkjNdi.js";import{s as n}from"./stockStructures-DrcVCf6W.js";import{C as o,_ as c,a0 as d,bs as m,aZ as x,c4 as u,P as p,fI as h,eg as g,fJ as b,fK as j,fL as y,fM as f,ay as v,fN as N,fO as w,eO as S,dP as C,m as $,d as P,B as O,cR as k}from"./index-CUIxi1yy.js";import{C as D}from"./CTAButton-BVEzDYQl.js";import{C as A}from"./CrossCategoryLinks-BOFQl7GA.js";import{u as T,S as L}from"./useStructureDetail-BeWalAAf.js";import{B}from"./BookAppointmentButton-26CEx0rX.js";import{A as W,a as I,b as R,c as M}from"./accordion-DYdPJDNV.js";import{g as V,i as z,c as H}from"./saleConfig-CuDpAaR5.js";import{S as U}from"./SaleCountdownTimer-COInkvuz.js";import"./slug-parser-8h41spFl.js";import"./textarea-DqdIqvXE.js";import"./radio-group-CLtqGCTI.js";import"./select-Ddcc5_IN.js";import"./similarStructures-W8TvFer5.js";import"./bunny-image-VphMgYzL.js";import"./supabase-zQsF3e6k.js";import"./PDFPreviewDialog-CxGo8OZC.js";import"./dropdown-menu-CiJ0xBln.js";import"./ColorSection-Ddaa0XWI.js";import"./ColorSwatch-D8wFT1G0.js";import"./utils-Bnq_o7sp.js";import"./formatters-DT6tcvjZ.js";import"./SocialShareButton-CNy6wyO-.js";import"./index-DaofzGsq.js";import"./contact-lI35o84o.js";import"./centralInventory-C-dm1SSS.js";import"./charts-BzMgu6zK.js";import"./SEOHead-DvKCumc3.js";import"./seoConfig-DA3YOcJt.js";import"./CustomerBookingModal-HI6lOhvW.js";import"./calendar-C019rcBX.js";import"./isSameDay-C75k_Qfm.js";import"./en-US-B93tTV0a.js";import"./format-CnTu1Fon.js";import"./endOfMonth-C301sQKc.js";import"./discountedFiltering-BoERSTSw.js";const _=({currentId:s,structureType:r,maxItems:a=3,title:i="Related Structures",subtitle:c="You might also be interested in these similar structures"})=>{const d=t(),m=n.filter(e=>e.id!==s&&(!r||!e.type||e.type===r)),x=m.filter(e=>!e.soldOut),u=m.filter(e=>e.soldOut),p=[...x.slice(0,a),...u.slice(0,Math.max(0,a-x.length))];if(0===p.length)return null;return e.jsx("section",{className:"py-16 bg-accent/20",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx(l,{title:i,subtitle:c,centered:!0}),e.jsxs(o,{className:"border-none bg-white shadow-wood p-6 mt-8",children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[e.jsxs("p",{className:"text-gray-600",children:["Showing ",p.length," related ",r||""," structure",1!==p.length?"s":""]}),(()=>{const t=p.filter(e=>!e.soldOut).length,s=p.length;return t===s?e.jsx("div",{className:"px-3 py-1.5 text-xs font-medium bg-green-100 text-green-700 rounded-full",children:"All available for purchase"}):t>0?e.jsxs("div",{className:"px-3 py-1.5 text-xs font-medium bg-accent/30 rounded-full text-secondary",children:[t," of ",s," available now"]}):e.jsx("div",{className:"px-3 py-1.5 text-xs font-medium bg-orange-100 text-orange-700 rounded-full",children:"Custom order only"})})()]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:p.map(t=>{return e.jsx("div",{onClick:()=>(e=>{const t=e.link||`/structure/${encodeURIComponent(e.id)}`;d(t)})(t),className:"cursor-pointer group","data-structure-id":t.id,"data-item-number":t.itemNumber,children:e.jsxs("div",{className:"bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[e.jsxs("div",{className:"relative aspect-[4/3] overflow-hidden",children:[e.jsx("img",{src:t.imageSrc,alt:t.altText,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",loading:"lazy"}),e.jsxs("div",{className:"absolute top-2 left-2 flex flex-col gap-1",children:[t.itemNumber&&e.jsxs("div",{className:"bg-blue-600 text-white px-2 py-1 text-xs font-medium rounded",children:["#",t.itemNumber]}),t.availableNow&&!t.soldOut&&e.jsx("div",{className:"bg-green-600 text-white px-2 py-1 text-xs font-medium rounded",children:"Available Now"}),t.soldOut&&e.jsx("div",{className:"bg-orange-600 text-white px-2 py-1 text-xs font-medium rounded",children:"Custom Order"})]})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),t.dimensions&&e.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["Size: ",t.dimensions]}),e.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:t.description}),t.soldOut&&e.jsx("div",{className:"mb-3 p-2 bg-orange-50 border border-orange-200 rounded-md",children:e.jsx("p",{className:"text-xs text-orange-700 font-medium",children:(null==(s=t.tags)?void 0:s.includes("refurbished"))||(null==(r=t.title)?void 0:r.toLowerCase().includes("refurbished"))?"This refurbished model has been sold":"Available as custom order with same specifications"})}),t.price&&e.jsxs("div",{className:"mb-3",children:[e.jsxs("span",{className:"text-xl font-bold text-primary",children:["$",t.price.toLocaleString()]}),t.rentToOwn&&e.jsxs("p",{className:"text-sm text-blue-600 mt-1",children:["Rent-to-Own: ",t.rentToOwn]})]}),e.jsx("button",{className:"w-full py-2 px-4 rounded transition-colors text-sm font-medium "+(t.soldOut?"bg-orange-600 hover:bg-orange-700 text-white":"bg-primary text-white hover:bg-primary/90"),children:t.soldOut?"Order Custom Build":"Get Quote"})]})]})},t.id);var s,r})}),e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(D,{to:"/stock-structures",variant:"outline",children:"Browse All Stock Structures"})})]})]})})},E=({currentIndex:s,typeStructureCount:r,structuresOfSameType:a,structureType:i,isSoldOut:l=!1})=>{const n=t();if(!(r>1))return null;const o=a.length,m=s+1,x=Math.max(1,Math.min(m,o));return e.jsx("div",{className:"container mx-auto px-4 py-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("button",{onClick:()=>{const e=s-1;if(e>=0&&a.length>0){const t=a[e];n(`/structure/${t.id}`)}},disabled:s<=0,className:"flex items-center gap-2 px-4 py-2 text-sm font-medium rounded-md hover:bg-accent/20 disabled:opacity-50 disabled:cursor-not-allowed",children:[e.jsx(c,{className:"h-4 w-4"}),"Previous"]}),e.jsxs("span",{className:"text-gray-600 text-sm",children:[(()=>{const e=i.charAt(0).toUpperCase()+i.slice(1);return`${l?"Past Design":"Available"} ${e}`})()," ",x," of ",o]}),e.jsxs("button",{onClick:()=>{const e=s+1;if(e<a.length&&a.length>0){const t=a[e];n(`/structure/${t.id}`)}},disabled:s>=o-1,className:"flex items-center gap-2 px-4 py-2 text-sm font-medium rounded-md hover:bg-accent/20 disabled:opacity-50 disabled:cursor-not-allowed",children:["Next",e.jsx(d,{className:"h-4 w-4"})]})]})})},F=({structure:t,enhanced:s=!1,isGalleryContext:r=!1})=>{var a,i;const l=(null==(a=t.tags)?void 0:a.includes("refurbished"))||(null==(i=t.style)?void 0:i.includes("refurbished"));return t.soldOut?r&&!l?e.jsx("div",{className:`\n bg-gradient-to-r from-primary/5 to-primary/10 border border-primary/20 \n ${s?"rounded-2xl p-8 shadow-xl":"rounded-lg p-4"} \n mb-6 animate-fade-in\n transform transition-all duration-300 hover:shadow-2xl\n `,children:e.jsxs("div",{className:"flex items-center justify-center gap-3 text-center",children:[e.jsx("div",{className:s?"bg-primary/10 p-3 rounded-xl":"",children:e.jsx(m,{className:(s?"h-6 w-6":"h-5 w-5")+" text-primary"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-primary font-semibold "+(s?"text-2xl mb-1":"text-lg"),children:"Love This Design?"}),e.jsx("p",{className:"text-primary/80 "+(s?"text-base":"text-sm"),children:"We can build this exact design for you with your choice of colors, sizes, and features."})]}),e.jsx("div",{className:s?"bg-primary/10 p-3 rounded-xl":"",children:e.jsx(x,{className:(s?"h-6 w-6":"h-5 w-5")+" text-primary"})})]})}):e.jsx("div",{className:`\n bg-blue-50 border border-blue-200 \n ${s?"rounded-2xl p-8 shadow-xl":"rounded-lg p-4"} \n mb-6 animate-fade-in\n transform transition-all duration-300 hover:shadow-2xl\n `,children:e.jsxs("div",{className:"flex items-center justify-center gap-3 text-center",children:[e.jsx("div",{className:s?"bg-blue-100 p-3 rounded-xl":"",children:e.jsx(u,{className:(s?"h-6 w-6":"h-5 w-5")+" text-blue-600"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-blue-900 font-semibold "+(s?"text-2xl mb-1":"text-lg"),children:l?"This refurbished model has been sold":"This model is sold out"}),e.jsx("p",{className:"text-blue-800 "+(s?"text-base":"text-sm"),children:l?"Refurbished structures are one-of-a-kind and cannot be custom built. Browse our current inventory or contact us about similar new structures.":"Contact us to order a new one or be notified when similar models arrive."})]}),e.jsx("div",{className:s?"bg-blue-100 p-3 rounded-xl":"",children:e.jsx(p,{className:(s?"h-6 w-6":"h-5 w-5")+" text-blue-600"})})]})}):e.jsxs("div",{className:`\n bg-gradient-to-r from-amber-50 to-amber-100/80 \n border-2 border-amber-300 \n ${s?"rounded-2xl p-8 shadow-xl":"rounded-lg p-6"} \n mb-6 animate-fade-in\n transform transition-all duration-300 hover:shadow-2xl\n relative overflow-hidden\n `,children:[s&&e.jsx("div",{className:"absolute top-0 right-0 w-40 h-40 bg-amber-200/20 rounded-full -translate-y-20 translate-x-20"}),e.jsxs("div",{className:"relative z-10 text-center "+(s?"mb-6":"mb-4"),children:[e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-3",children:[e.jsx("div",{className:s?"bg-amber-100 p-3 rounded-xl animate-pulse":"",children:e.jsx(m,{className:(s?"h-7 w-7":"h-5 w-5")+" text-amber-600"})}),e.jsx("p",{className:"text-amber-900 font-bold "+(s?"text-3xl":"text-lg"),children:"Reserve This Model Today!"}),e.jsx("div",{className:s?"bg-amber-100 p-3 rounded-xl animate-pulse":"",children:e.jsx(x,{className:(s?"h-7 w-7":"h-5 w-5")+" text-amber-600"})})]}),e.jsx("p",{className:"text-amber-800 font-medium "+(s?"text-lg":"text-sm"),children:"Call now to secure this specific structure - limited availability!"})]}),e.jsxs("div",{className:`relative z-10 flex flex-col sm:flex-row ${s?"gap-4":"gap-3"} justify-center items-center`,children:[e.jsxs("a",{href:"tel:+16108573420",className:`inline-flex items-center h-11 ${s?"px-8 text-base":"px-4 text-sm"} \n bg-amber-600 text-white rounded-xl hover:bg-amber-700 \n transition-all duration-200 font-bold\n shadow-lg hover:shadow-xl hover:scale-105 transform\n `,children:[e.jsx(p,{className:""+(s?"h-5 w-5 mr-3":"h-4 w-4 mr-2")}),"Call to Reserve"]}),e.jsxs("a",{href:"sms:+18446800640",className:`inline-flex items-center h-11 ${s?"px-8 text-base":"px-4 text-sm"} \n bg-white text-amber-800 border-2 border-amber-400 rounded-xl \n hover:bg-amber-50 transition-all duration-200 font-semibold\n shadow-md hover:shadow-lg hover:scale-105 transform\n `,children:[e.jsx(p,{className:""+(s?"h-5 w-5 mr-3":"h-4 w-4 mr-2")}),"Text Us"]}),e.jsx(B,{variant:"outline",className:(s?"px-8 py-4 text-base":"px-4 py-2 text-sm")+" \n bg-white text-amber-800 border-2 border-amber-400 \n hover:bg-amber-50 transition-all duration-200 font-semibold\n rounded-xl shadow-md hover:shadow-lg hover:scale-105 transform\n ",children:"Book Appointment"})]})]})},G=({structure:t,isGalleryContext:s=!1})=>{var r,a;const{data:i}=h(),l=(e,t)=>e.length<=t?e:e.substring(0,t-3)+"...";t.soldOut||t.availableNow;const n=t.sale&&(!t.sale.endDate||new Date(t.sale.endDate)>new Date),o=`${t.title} #${t.itemNumber}`;let c;c=s?`${o} Design | Build This Style | White Pine Structures`:n?`${o} - Sale | ${t.dimensions} | White Pine Structures`:t.availableNow?`${o} - In Stock | ${t.dimensions} | White Pine Structures`:`${o} | ${t.dimensions} | White Pine Structures`,c=l(c,60);const d=t.shortDescription||t.description.split("\n")[0],m=`Item #${t.itemNumber}.`,x="Serving PA, DE, MD & NJ.";let u;if(s){u=`Design inspiration: ${d}${t.price?` From $${t.price.toLocaleString()}.`:""} We can custom-build this exact style for you. ${x}`}else if(t.availableNow){u=`${m} ${d}${` $${t.price.toLocaleString()}.`} Available now or custom built to order. ${x}`}else{u=`${m} ${d}${t.price?` From $${t.price.toLocaleString()}.`:""} Custom built to your specifications. ${x}`}u=l(u,155);const p=[`${t.title.toLowerCase()}`,`${t.dimensions} ${t.type}`,`amish built ${t.type}`,`custom ${t.type}`,`${t.type} item ${t.itemNumber}`,s?"design inspiration":t.availableNow?"in stock":"made to order",s?"build this style":t.availableNow?"ready to deliver":"custom built",s?"design inspiration gallery":null,null==(r=t.style)?void 0:r.replace("-"," "),"Pennsylvania","Delaware","Maryland","New Jersey","White Pine Structures"].filter(Boolean).join(", "),b=`https://whitepinestructures.com${t.link}`,j={"@context":"https://schema.org/","@type":"Product",name:t.title,description:t.shortDescription||t.description.split("\n")[0],image:(t.images||[t.imageSrc]).map((e,s)=>{var r;return{"@type":"ImageObject",url:e,description:(null==(r=t.imageAlts)?void 0:r[s])||t.altText||t.title}}),brand:{"@type":"Brand",name:"White Pine Structures"},manufacturer:{"@type":"Organization",name:"White Pine Structures",address:{"@type":"PostalAddress",streetAddress:"3341 W Lincoln Hwy",addressLocality:"Parkesburg",addressRegion:"PA",postalCode:"19365"}},offers:{"@type":"Offer",price:t.price,priceCurrency:"USD",itemCondition:"https://schema.org/NewCondition",availability:t.availableNow?"https://schema.org/InStock":"https://schema.org/PreOrder",priceValidUntil:new Date(Date.now()+7776e6).toISOString().split("T")[0],availabilityStarts:(new Date).toISOString(),seller:{"@type":"Organization",name:"White Pine Structures"}},...i&&i.totalReviews>0&&{aggregateRating:{"@type":"AggregateRating",ratingValue:i.overall,reviewCount:i.totalReviews,bestRating:5,worstRating:1}},category:t.type,sku:t.itemNumber,additionalProperty:[{"@type":"PropertyValue",name:"Dimensions",value:t.dimensions},{"@type":"PropertyValue",name:"Style",value:t.style},...t.colors&&"object"==typeof t.colors&&!Array.isArray(t.colors)?[...t.colors.siding?[{"@type":"PropertyValue",name:"Siding Color",value:t.colors.siding}]:[],...t.colors.trim?[{"@type":"PropertyValue",name:"Trim Color",value:t.colors.trim}]:[],...t.colors.roof?[{"@type":"PropertyValue",name:"Roof Color",value:t.colors.roof}]:[]]:[]]};return e.jsxs(g,{children:[e.jsx("title",{children:c}),e.jsx("meta",{name:"description",content:u}),e.jsx("meta",{name:"keywords",content:p}),e.jsx("link",{rel:"canonical",href:b}),e.jsx("meta",{property:"og:title",content:c}),e.jsx("meta",{property:"og:description",content:u}),e.jsx("meta",{property:"og:type",content:"product"}),e.jsx("meta",{property:"og:url",content:b}),e.jsx("meta",{property:"og:image",content:t.imageSrc}),e.jsx("meta",{property:"og:image:alt",content:t.altText||t.title}),e.jsx("meta",{property:"og:image:width",content:"1200"}),e.jsx("meta",{property:"og:image:height",content:"630"}),e.jsx("meta",{property:"og:site_name",content:"White Pine Structures"}),e.jsx("meta",{property:"og:locale",content:"en_US"}),e.jsx("meta",{property:"product:price:amount",content:null==(a=t.price)?void 0:a.toString()}),e.jsx("meta",{property:"product:price:currency",content:"USD"}),e.jsx("meta",{property:"product:availability",content:t.availableNow?"in stock":"preorder"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:c}),e.jsx("meta",{name:"twitter:description",content:u}),e.jsx("meta",{name:"twitter:image",content:t.imageSrc}),e.jsx("meta",{name:"twitter:image:alt",content:t.altText||t.title}),e.jsx("meta",{name:"robots",content:"index, follow"}),e.jsx("meta",{name:"author",content:"White Pine Structures"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(j)})]})},J=({items:t,className:r=""})=>e.jsx("div",{className:`bg-white border-b border-gray-200 py-2 ${r}`,children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(b,{children:e.jsxs(j,{children:[e.jsx(y,{children:e.jsx(f,{asChild:!0,children:e.jsxs(s,{to:"/",className:"flex items-center gap-1 text-gray-600 hover:text-primary",children:[e.jsx(v,{className:"h-4 w-4"}),"Home"]})})}),t.map((r,a)=>e.jsxs("div",{className:"contents",children:[e.jsx(N,{}),e.jsx(y,{children:r.href&&a<t.length-1?e.jsx(f,{asChild:!0,children:e.jsx(s,{to:r.href,className:"text-gray-600 hover:text-primary",children:r.label})}):e.jsx(w,{className:"text-gray-900 font-medium",children:r.label})})]},a))]})})})}),Y=()=>{const t=r(),l=t["*"],{type:n,itemNumber:o}=t,{structure:c,loading:d,similarStructures:m,currentIndex:x,structuresOfSameType:u,typeStructureCount:p}=T(l,n,o),{trackPageVisit:h}=S();if(a.useEffect(()=>{c&&!d&&h(`/structure/${c.itemNumber||c.id}`,c.title)},[c,d,h]),!d&&!c)return e.jsx(L,{});if(d||!c)return e.jsx("section",{className:"min-h-[50vh] flex items-center justify-center",children:e.jsx("div",{className:"animate-pulse text-xl",children:"Loading..."})});const g=!0===c.soldOut,b=g?[{label:"Customer Builds",href:"/past-inventory"},{label:c.title}]:[{label:"Stock Structures",href:"/stock-structures"},{label:c.title}],j=V(),y=j&&z(c),{totalSavings:f}=y&&j?H(c.price||0,j):{totalSavings:0};return e.jsxs(e.Fragment,{children:[e.jsx(G,{structure:c,isGalleryContext:g}),e.jsx(J,{items:b}),e.jsxs("main",{className:"pt-6 lg:pt-8",children:[y&&j&&e.jsx("div",{className:"container mx-auto px-4 mb-4",children:e.jsxs("div",{className:`bg-gradient-to-r ${j.gradientClasses} text-white rounded-lg px-6 py-4 text-center shadow-lg`,children:[e.jsxs("div",{className:"text-lg font-bold mb-1",children:[j.emoji," ",j.name," Sale: ",j.tagline]}),e.jsx(U,{className:"mt-2 text-white"}),e.jsxs("div",{className:"text-2xl font-bold mt-2",children:["Save $",f.toLocaleString()," on this structure!"]}),e.jsx("div",{className:"text-sm mt-2 opacity-90",children:"Limited time offer • Cannot be combined with other offers"}),e.jsx("div",{className:"text-xs mt-1 opacity-80 italic",children:"Prices shown are regular prices — mention this sale when you contact us to receive your discount"}),e.jsx("div",{className:"flex items-center justify-center gap-3 mt-3",children:e.jsx(s,{to:j.landingPage,className:"inline-flex items-center gap-1 text-sm font-medium text-white underline underline-offset-2 hover:no-underline",children:"View Sale Page →"})})]})}),e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(F,{structure:c,enhanced:!0,isGalleryContext:g})}),e.jsx("section",{className:"py-6 bg-gradient-to-r from-primary/5 to-primary/10 border-y border-primary/10",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx(W,{type:"single",collapsible:!0,className:"w-full",children:e.jsxs(I,{value:"craftsmen-info",className:"border-none",children:[e.jsx(R,{className:"text-left hover:no-underline p-0 pb-0",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:e.jsx(C,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-secondary",children:"About Our Craftsmen"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Family owned business since 1988"})]})]})}),e.jsx(M,{className:"pt-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-center",children:[e.jsx("div",{className:"text-center lg:text-left",children:e.jsxs("div",{className:"bg-white/95 backdrop-blur-sm rounded-xl p-6 shadow-md border border-primary/20 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-20 h-20 bg-primary/5 rounded-full -translate-y-10 translate-x-10"}),e.jsxs("div",{className:"relative z-10",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3 mb-4",children:[e.jsxs("div",{className:"text-center p-3 bg-primary/5 rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 mb-1",children:[e.jsx($,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-lg font-bold text-primary",children:"35+"})]}),e.jsx("p",{className:"text-xs text-gray-600",children:"Years"})]}),e.jsxs("div",{className:"text-center p-3 bg-primary/5 rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-center gap-1 mb-1",children:[e.jsx(C,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-lg font-bold text-primary",children:"5000+"})]}),e.jsx("p",{className:"text-xs text-gray-600",children:"Built"})]})]}),e.jsx("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200 mb-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:e.jsx(P,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-semibold text-gray-900 mb-1 text-sm",children:"Visit Our Sales Lot"}),e.jsxs("a",{href:"https://maps.google.com/?q=3341+W+Lincoln+Hwy,+Parkesburg,+PA+19365",target:"_blank",rel:"noopener noreferrer",className:"text-gray-700 hover:text-primary transition-colors duration-200 font-medium group text-sm","aria-label":"View our location on Google Maps",children:[e.jsx("span",{className:"block group-hover:underline",children:"3341 W Lincoln Hwy"}),e.jsx("span",{className:"block group-hover:underline",children:"Parkesburg, PA 19365"})]}),e.jsxs(O,{variant:"outline",size:"sm",className:"border-primary text-primary hover:bg-primary hover:text-white mt-2 text-xs h-7",onClick:()=>window.open("https://maps.google.com/?q=3341+W+Lincoln+Hwy,+Parkesburg,+PA+19365","_blank"),children:[e.jsx(P,{className:"w-3 h-3 mr-1"}),"Directions"]})]})]})})]})]})}),e.jsx("div",{className:"text-center lg:text-right",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-transparent rounded-xl transform rotate-2"}),e.jsx("img",{src:"https://structures.b-cdn.net/location.jpg",alt:"Our sales lot at 3341 W Lincoln Hwy, Parkesburg, PA 19365",className:"relative rounded-xl shadow-lg w-full max-w-sm mx-auto object-cover h-48"}),e.jsxs("div",{className:"absolute bottom-3 left-3 right-3 bg-white/95 backdrop-blur-sm rounded-lg p-2 shadow-md",children:[e.jsx("p",{className:"text-xs font-medium text-gray-900",children:"Our Sales Lot"}),e.jsx("p",{className:"text-xs text-gray-600",children:"See structures in person"})]})]})})]})})]})})})})}),e.jsx(E,{currentIndex:x,typeStructureCount:p,structuresOfSameType:u,structureType:c.type,isSoldOut:c.soldOut}),e.jsx(i,{structure:c}),e.jsx(_,{currentId:c.id,structureType:c.type,title:g?"Similar Design Ideas":"Similar Stock Structures",subtitle:g?"More designs you might want to build":"You might also be interested in these related buildings"}),e.jsx("section",{className:"py-8 bg-gradient-to-r from-primary/5 to-accent-sage/10",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-3",children:[e.jsx(k,{className:"h-6 w-6 text-primary"}),e.jsx("h3",{className:"text-xl font-bold text-secondary",children:"See What Others Have Chosen"})]}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Browse 23+ real builds delivered to happy customers from our sales lot. Love a style? We'll build yours next."}),e.jsxs(s,{to:"/past-inventory",className:"inline-flex items-center gap-2 bg-primary text-white px-6 py-3 rounded-lg font-semibold hover:bg-primary-dark transition-colors",children:[e.jsx(k,{className:"h-5 w-5"}),"Browse Customer Builds"]})]})})}),e.jsx(A,{excludeCategory:"shed"===c.type?"sheds":"garage"===c.type?"garages":"other",context:"Explore Other Structure Categories"})]})]})};export{Y as StockStructureDetailPage,Y as default};