/* =========================================================
   OneClickPackaging – HOMEPAGE-only styles (loaded after core.css)
   Hero slider, style tiles and the "Build your box" section.
   ========================================================= */

/* ---------- hero slider ---------- */
.ocp-hero { position: relative; background: #eef1ef; overflow: hidden; isolation: isolate; }
.ocp-slides { display: grid; }
.ocp-slide { grid-area: 1 / 1; position: relative; min-height: clamp(460px, 44vw, 640px); display: flex; align-items: flex-end; visibility: hidden; opacity: 0; transition: opacity .6s ease, visibility .6s; }
.ocp-slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.ocp-slide__media { position: absolute; inset: 0; overflow: hidden; }
.ocp .ocp-slide__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; will-change: transform; }
.ocp-slide__inner { position: relative; display: flex; justify-content: center; padding-block: 48px 100px; }   /* bottom padding = dashes (76px) + ~24px gap */
.ocp-slide__card {
	width: min(100%, 432px);            /* 20% smaller than before */
	text-align: center;
	padding: clamp(22px, 2.6vw, 34px);
	border-radius: 20px;
	background: rgba(255, 255, 255, .58);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	backdrop-filter: blur(16px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 20px 60px rgba(17, 56, 82, .16);
}
.ocp-slide__kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ocp-teal-ink); }
.ocp .ocp-slide__title { margin-top: 8px !important; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.05; font-weight: 700; color: #044444; letter-spacing: -.02em; }
.ocp-slide__title span { display: inline-block; }
.ocp-slide__title span + span { color: var(--ocp-teal-ink); }
.ocp-slide__text { margin: 12px auto 0 !important; max-width: 330px; font-size: 15px; line-height: 1.6; color: #2b3a42; }
.ocp-slide__ctas { margin-top: 20px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ocp-slide__ctas .ocp-btn { padding-inline: 14px; min-height: 44px; font-size: 14px; gap: 6px; white-space: nowrap; }
.ocp-slide__ctas .ocp-btn .ocp-ico { width: 16px; height: 16px; }
.ocp .ocp-btn--glass { background: rgba(255,255,255,.7); color: var(--ocp-navy); border-color: rgba(17,56,82,.12); }
.ocp .ocp-btn--glass:hover { background: #fff; color: var(--ocp-navy); }
.ocp-slide__chips { margin-top: 16px !important; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; font-weight: 500; color: #2b3a42; }
.ocp-slide__chips li { display: inline-flex; align-items: center; gap: 6px; }
.ocp-slide__chips .ocp-ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--ocp-teal-ink); color: #fff; stroke-width: 3.2; }
.ocp-hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.ocp-hero__controls > * { pointer-events: auto; }
.ocp-hero__dots { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 6px 20px rgba(17,56,82,.12); }
.ocp-dot { position: relative; width: 44px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(17,56,82,.18); cursor: pointer; overflow: hidden; }
.ocp-dot::before { content: ""; position: absolute; inset: -10px 0; }            /* bigger tap area */
.ocp-dot__fill { position: absolute; inset: 0; background: var(--ocp-teal-ink); transform: scaleX(0); transform-origin: left; border-radius: inherit; }
.ocp-dot.is-active .ocp-dot__fill { transform: scaleX(1); }
.ocp-hero__arrows { display: contents; }
.ocp-arrow[data-prev] { order: -1; }
.ocp-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ocp-navy); cursor: pointer; transition: background .2s, box-shadow .2s; }
.ocp-arrow:hover { background: #fff; box-shadow: 0 6px 18px rgba(17,56,82,.18); }
.ocp-arrow .ocp-ico { width: 20px; height: 20px; }
.ocp-gsap .ocp-slide { transition: none; }

/* ---------- style tiles ---------- */
.ocp-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.ocp-tile { display: block; text-align: center; color: var(--ocp-navy); font-weight: 600; font-size: 15px; }
.ocp-tile img, .ocp-tile .ocp-card__ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ocp-line); margin-bottom: 12px; background: var(--ocp-tint); transition: box-shadow .25s, transform .25s; }
.ocp-tile:hover img { box-shadow: 0 0 0 2px var(--ocp-teal); transform: translateY(-3px); }
.ocp-tile:hover { color: var(--ocp-teal-ink); }

/* ---------- build your box ---------- */
.ocp-build { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: var(--ocp-gap); }
.ocp-build__col { background: #fff; border-radius: var(--ocp-radius); padding: 28px 24px; border: 1px solid #eadfce; }
.ocp-build__col--size { background: #fffaf3; }
.ocp-build__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; margin-bottom: 10px !important; }
.ocp-build__title .ocp-ico { color: #9a6d3c; width: 22px; height: 22px; }
.ocp-build__col p { font-size: 15px; color: var(--ocp-muted); }
.ocp-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ocp-ink); line-height: 1.5; margin-bottom: 8px; }
.ocp-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--ocp-kraft); }
.ocp-dieline { width: 100%; max-width: 240px; height: auto; margin: 0 auto 10px; display: block; }
.ocp-dieline__face { fill: #e9d3b6; stroke: #9a6d3c; stroke-width: 1.4; }
.ocp-dieline__side { fill: #d7b58d; stroke: #9a6d3c; stroke-width: 1.4; }
.ocp-dieline__front { fill: #cfa678; stroke: #9a6d3c; stroke-width: 1.4; }
.ocp-dieline__lid { fill: #f1e2cd; stroke: #9a6d3c; stroke-width: 1.4; stroke-dasharray: 4 3; }
.ocp-dieline__dim path { stroke: var(--ocp-teal-ink); stroke-width: 1.4; fill: none; stroke-dasharray: 3 3; }
.ocp-dieline__dim text { fill: var(--ocp-teal-ink); font: 700 14px var(--ocp-font); }
@media (max-width: 1099px) {
	.ocp-build { grid-template-columns: 1fr 1fr; }
	.ocp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; }
}
@media (max-width: 991px) {
	.ocp-slide__card { width: min(100%, 440px); }
}
@media (max-width: 767px) {
	.ocp-slide { display: block; min-height: 0; }
	.ocp-slide__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
	.ocp .ocp-slide__img { object-position: 28% center; }
	.ocp-slide__inner { display: block; padding-block: 0 28px; margin-top: -56px; }
	.ocp-slide__card { width: 100%; padding: 28px 22px 24px; background: rgba(255,255,255,.9); border-radius: 20px; }
	.ocp .ocp-slide__title { font-size: clamp(32px, 9vw, 40px); }
	.ocp-slide__text { font-size: 16px; }
	.ocp-slide__ctas .ocp-btn { flex: 1 1 100%; }
	.ocp-slide__chips { font-size: 12.5px; gap: 6px 12px; }
	.ocp-hero__controls { top: calc(75vw - 104px); bottom: auto; justify-content: center; }
	.ocp-hero__dots { padding: 10px 14px; }
	.ocp-dot { width: 34px; }
	.ocp-hero__arrows { display: none; }
	.ocp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
	.ocp-tile { font-size: 14px; }
	.ocp-build { grid-template-columns: 1fr; gap: 14px; }
	.ocp-build__col { padding: 24px 20px; }
}
@media (max-width: 419px) {
	.ocp-tiles { gap: 16px 12px; }
	.ocp-tile { font-size: 13px; }
}