 /* =========================================================
    SERVICE 03 — AR FURNITURE PLACEMENT
    VISUAL + ANIMATION
 ========================================================= */


 /* =========================================================
    DESTINATION ROOM
 ========================================================= */

 .shiftify-service .ar-room-visual {

     width: 100%;
     max-width: 310px;
     height: 155px;

     margin: 18px auto 14px;

     position: relative;
     overflow: hidden;

     border: 1px solid #e2e8f0;
     border-radius: 13px;

     background: #f8fafc;

     perspective: 700px;
 }


 /* BACK WALL */

 .shiftify-service .ar-room-wall--back {

     position: absolute;
     inset: 0 0 42px;

     background:
         linear-gradient(
             135deg,
             #ffffff,
             #f1f5f9
         );

     border-bottom: 1px solid #cbd5e1;
 }


 /* SIDE WALL */

 .shiftify-service .ar-room-wall--side {

     position: absolute;

     top: 0;
     right: 0;

     width: 42%;
     height: 113px;

     background:
         linear-gradient(
             135deg,
             #e2e8f0,
             #cbd5e1
         );

     clip-path: polygon(
         32% 0,
         100% 0,
         100% 100%,
         0 100%
     );

     opacity: .65;
 }


 /* FLOOR */

 .shiftify-service .ar-room-floor {

     position: absolute;

     left: 0;
     right: 0;
     bottom: 0;

     height: 55px;

     overflow: hidden;

     background:
         linear-gradient(
             180deg,
             #e2e8f0,
             #cbd5e1
         );

     transform:
         perspective(500px)
         rotateX(45deg);

     transform-origin: bottom;
 }


 /* FLOOR GRID */

 .shiftify-service .ar-floor-grid {

     position: absolute;
     inset: 0;

     opacity: .55;

     background-image:
         linear-gradient(
             to right,
             #94a3b8 1px,
             transparent 1px
         ),
         linear-gradient(
             to bottom,
             #94a3b8 1px,
             transparent 1px
         );

     background-size: 22px 15px;
 }


 /* WINDOW */

 .shiftify-service .ar-room-window {

     position: absolute;

     top: 22px;
     left: 35px;

     width: 55px;
     height: 36px;

     display: flex;
     align-items: center;
     justify-content: center;

     border: 3px solid #cbd5e1;
     border-radius: 4px;

     background:
         linear-gradient(
             135deg,
             #dbeafe,
             #bfdbfe
         );

     color: #64748b;

     font-size: 6px;
     font-weight: 800;
 }


 /* DOOR */

 .shiftify-service .ar-room-door {

     position: absolute;

     right: 28px;
     bottom: 27px;

     width: 35px;
     height: 58px;

     display: flex;
     align-items: flex-start;
     justify-content: center;

     padding-top: 7px;

     border: 2px solid #94a3b8;
     border-bottom: 0;

     border-radius: 5px 5px 0 0;

     background: #f8fafc;

     color: #94a3b8;

     font-size: 6px;
     font-weight: 800;
 }


 /* ROOM LABEL */

 .shiftify-service .ar-room-label {

     position: absolute;

     top: 10px;
     left: 10px;

     z-index: 5;

     padding: 5px 8px;

     border-radius: 6px;

     background: rgba(255,255,255,.88);

     border: 1px solid #e2e8f0;

     color: #475569;

     font-size: 7px;
     font-weight: 800;

     letter-spacing: .04em;
 }


 /* SCANNING LINE */

 .shiftify-service .ar-scan-line {

     position: absolute;

     left: 12%;
     right: 12%;
     top: 35px;

     height: 1px;

     z-index: 6;

     background:
         linear-gradient(
             90deg,
             transparent,
             #ff5a1f,
             transparent
         );

     opacity: .55;

     animation:
         arScan 2.4s ease-in-out infinite;
 }


 @keyframes arScan {

     0%,
     100% {
         transform: translateY(0);
         opacity: .15;
     }

     50% {
         transform: translateY(55px);
         opacity: .8;
     }

 }


 /* DESTINATION STATUS */

 .shiftify-service .ar-status {

     max-width: 310px;

     margin: 0 auto;

     display: grid;

     grid-template-columns: 22px 1fr auto;

     align-items: center;

     gap: 7px;

     padding: 9px 11px;

     border: 1px solid #dcfce7;

     border-radius: 9px;

     background: #f0fdf4;

     font-size: 10px;
 }


 .shiftify-service .ar-status .status-check {

     width: 18px;
     height: 18px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 50%;

     background: #16a34a;

     color: #ffffff;

     font-size: 9px;
     font-weight: 800;
 }


 .shiftify-service .ar-status span:nth-child(2) {
     color: #475569;
 }


 .shiftify-service .ar-status strong {
     color: #15803d;
 }


 /* =========================================================
    FURNITURE SELECTION
 ========================================================= */

 .shiftify-service .furniture-selection {

     width: 100%;
     max-width: 300px;

     margin: 18px auto 14px;

     display: grid;

     grid-template-columns: repeat(2, 1fr);

     gap: 9px;
 }


 .shiftify-service .furniture-option {

     min-height: 65px;

     position: relative;

     padding: 8px;

     display: grid;

     grid-template-columns: 42px 1fr;

     grid-template-rows: 1fr;

     align-items: center;

     gap: 8px;

     border: 1px solid #e2e8f0;

     border-radius: 10px;

     background: #ffffff;

     text-align: left;

     box-shadow:
         0 5px 12px rgba(15,23,42,.04);

     transition:
         transform .3s ease,
         border-color .3s ease,
         box-shadow .3s ease;
 }


 .shiftify-service .furniture-option:hover {

     transform: translateY(-2px);

     box-shadow:
         0 8px 18px rgba(15,23,42,.08);
 }


 .shiftify-service .furniture-option--active {

     border-color: #ff5a1f;

     background: #fff7ed;

     box-shadow:
         0 7px 18px rgba(255,90,31,.10);

     animation:
         furnitureSelected 2.5s ease-in-out infinite;
 }


 @keyframes furnitureSelected {

     0%,
     100% {
         box-shadow:
             0 7px 18px rgba(255,90,31,.10);
     }

     50% {
         box-shadow:
             0 7px 22px rgba(255,90,31,.22);
     }

 }


 /* FURNITURE ICON */

 .shiftify-service .furniture-icon {

     width: 42px;
     height: 42px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 8px;

     font-size: 6px;
     font-weight: 800;

     color: #475569;

     background: #f1f5f9;

     border: 1px solid #e2e8f0;
 }


 .shiftify-service .furniture-icon--sofa {
     background: #ffedd5;
     border-color: #fed7aa;
 }


 .shiftify-service .furniture-icon--table {
     background: #fef3c7;
     border-color: #fde68a;
 }


 .shiftify-service .furniture-icon--bed {
     background: #dbeafe;
     border-color: #bfdbfe;
 }


 .shiftify-service .furniture-icon--tv {
     background: #e0e7ff;
     border-color: #c7d2fe;
 }


 .shiftify-service .furniture-option > span {

     color: #475569;

     font-size: 10px;
     font-weight: 700;
 }


 .shiftify-service .furniture-option > strong {

     position: absolute;

     right: 7px;
     top: 6px;

     width: 16px;
     height: 16px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 50%;

     background: #ff5a1f;

     color: #ffffff;

     font-size: 8px;
 }


 /* SELECTION STATUS */

 .shiftify-service .selection-status {

     max-width: 300px;

     margin: 0 auto;

     display: flex;
     align-items: center;
     gap: 7px;

     padding: 9px 11px;

     border: 1px solid #fed7aa;

     border-radius: 9px;

     background: #fff7ed;

     color: #78716c;

     font-size: 10px;
 }


 .shiftify-service .selection-status > span {

     color: #16a34a;

     font-weight: 800;
 }


 .shiftify-service .selection-status strong {
     color: #ea580c;
 }


 /* =========================================================
    AR PLACEMENT VIEW
 ========================================================= */

 .shiftify-service .ar-placement-stage {

     width: 100%;
     max-width: 320px;
     height: 170px;

     margin: 12px auto 10px;

     position: relative;

     overflow: hidden;

     border: 1px solid #cbd5e1;
     border-radius: 13px;

     background: #e2e8f0;

     perspective: 700px;
 }


 .shiftify-service .ar-room-backdrop {

     position: absolute;
     inset: 0;

     background:
         linear-gradient(
             180deg,
             #f8fafc 0 57%,
             #cbd5e1 57% 100%
         );
 }


 /* WALL LINE */

 .shiftify-service .ar-wall-line {

     position: absolute;

     left: 0;
     right: 0;
     top: 57%;

     height: 1px;

     background: #94a3b8;
 }


 /* FLOOR */

 .shiftify-service .ar-floor-perspective {

     position: absolute;

     left: 8%;
     right: 8%;
     bottom: 0;

     height: 75px;

     overflow: hidden;

     transform:
         perspective(400px)
         rotateX(48deg);

     transform-origin: bottom;

     border:
         1px solid rgba(100,116,139,.4);

     background:
         linear-gradient(
             135deg,
             #e2e8f0,
             #cbd5e1
         );
 }


 /* FLOOR LINES */

 .shiftify-service .ar-floor-lines {

     position: absolute;
     inset: 0;

     background-image:
         linear-gradient(
             to right,
             rgba(100,116,139,.4) 1px,
             transparent 1px
         ),
         linear-gradient(
             to bottom,
             rgba(100,116,139,.4) 1px,
             transparent 1px
         );

     background-size:
         24px 16px;
 }


 /* AR SOFA */

 .shiftify-service .ar-furniture-sofa {

     position: absolute;

     width: 90px;
     height: 35px;

     left: 50%;
     bottom: 18px;

     transform:
         translateX(-50%);

     display: flex;
     align-items: center;
     justify-content: center;

     border: 2px solid #ff5a1f;

     border-radius: 8px;

     background:
         rgba(255,90,31,.14);

     color: #ea580c;

     font-size: 7px;
     font-weight: 800;

     box-shadow:
         0 0 0 4px rgba(255,90,31,.06),
         0 8px 20px rgba(255,90,31,.14);

     animation:
         arFurnitureMove 3s ease-in-out infinite;
 }


 @keyframes arFurnitureMove {

     0%,
     100% {
         transform:
             translateX(-50%)
             translateY(0);
     }

     50% {
         transform:
             translateX(-50%)
             translateY(-5px);
     }

 }


 /* PLACEMENT MARKER */

 .shiftify-service .ar-placement-marker {

     position: absolute;

     left: 50%;
     bottom: 5px;

     width: 25px;
     height: 25px;

     transform:
         translateX(-50%);

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 50%;

     border: 2px solid #ff5a1f;

     background: rgba(255,255,255,.8);

     color: #ff5a1f;

     font-size: 14px;
     font-weight: 700;

     animation:
         placementMarkerPulse 1.7s ease-in-out infinite;
 }


 @keyframes placementMarkerPulse {

     0%,
     100% {
         box-shadow:
             0 0 0 0 rgba(255,90,31,.20);
     }

     50% {
         box-shadow:
             0 0 0 9px rgba(255,90,31,.04);
     }

 }


 /* CAMERA CORNERS */

 .shiftify-service .ar-camera-frame {

     position: absolute;
     inset: 14px;

     pointer-events: none;
 }


 .shiftify-service .ar-camera-frame span {

     position: absolute;

     width: 17px;
     height: 17px;

     border-color: rgba(255,90,31,.8);

     border-style: solid;
 }


 .shiftify-service .ar-camera-frame span:nth-child(1) {
     left: 0;
     top: 0;
     border-width: 2px 0 0 2px;
 }


 .shiftify-service .ar-camera-frame span:nth-child(2) {
     right: 0;
     top: 0;
     border-width: 2px 2px 0 0;
 }


 .shiftify-service .ar-camera-frame span:nth-child(3) {
     left: 0;
     bottom: 0;
     border-width: 0 0 2px 2px;
 }


 .shiftify-service .ar-camera-frame span:nth-child(4) {
     right: 0;
     bottom: 0;
     border-width: 0 2px 2px 0;
 }


 /* AR BADGE */

 .shiftify-service .ar-view-badge {

     position: absolute;

     top: 10px;
     right: 10px;

     padding: 5px 8px;

     border-radius: 6px;

     background: rgba(17,24,39,.82);

     color: #ffffff;

     font-size: 7px;
     font-weight: 800;

     letter-spacing: .05em;
 }


 /* PLACEMENT STATUS */

 .shiftify-service .placement-status {

     max-width: 320px;

     margin: 0 auto;

     display: flex;
     align-items: center;
     gap: 8px;

     padding: 9px 11px;

     border: 1px solid #dcfce7;

     border-radius: 9px;

     background: #f0fdf4;

     color: #475569;

     font-size: 10px;
 }


 .shiftify-service .placement-status > span {

     width: 18px;
     height: 18px;

     flex: 0 0 18px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 50%;

     background: #16a34a;

     color: #ffffff;

     font-size: 9px;
     font-weight: 800;
 }


 .shiftify-service .placement-status strong {
     color: #166534;
 }


 /* =========================================================
    FINAL PLACEMENT SUMMARY
 ========================================================= */

 .shiftify-service .placement-summary {

     width: 100%;
     max-width: 310px;

     margin: 17px auto 10px;

     display: grid;

     grid-template-columns: repeat(3, 1fr);

     overflow: hidden;

     border: 1px solid #e2e8f0;

     border-radius: 10px;

     background: #ffffff;

     box-shadow:
         0 7px 18px rgba(15,23,42,.05);
 }


 .shiftify-service .placement-summary > div {

     min-width: 0;

     padding: 10px 6px;

     text-align: center;

     border-right: 1px solid #e2e8f0;
 }


 .shiftify-service .placement-summary > div:last-child {
     border-right: 0;
 }


 .shiftify-service .placement-summary span {

     display: block;

     margin-bottom: 4px;

     color: #94a3b8;

     font-size: 8px;
 }


 .shiftify-service .placement-summary strong {

     display: block;

     color: #111827;

     font-size: 10px;
     font-weight: 800;
 }


 /* SHARE */

 .shiftify-service .share-placement {

     display: flex;

     align-items: center;
     justify-content: center;

     gap: 7px;

     max-width: 310px;

     margin: 0 auto;

     padding: 9px 12px;

     border-radius: 8px;

     background: #ff5a1f;

     color: #ffffff;

     font-size: 10px;
     font-weight: 800;

     box-shadow:
         0 7px 15px rgba(255,90,31,.16);

     animation:
         sharePulse 2.4s ease-in-out infinite;
 }


 .shiftify-service .share-placement > span {

     font-size: 12px;
 }


 @keyframes sharePulse {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-2px);
     }

 }


 /* =========================================================
    MOBILE
 ========================================================= */

 @media (max-width: 600px) {

     .shiftify-service .ar-room-visual {
         max-width: 280px;
         height: 145px;
     }

     .shiftify-service .furniture-selection {
         max-width: 275px;
     }

     .shiftify-service .ar-placement-stage {
         max-width: 285px;
         height: 155px;
     }

     .shiftify-service .placement-summary {
         max-width: 280px;
     }

 }