@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: white;
    font-size: 16px;
}

/* Main Page Layout */
.pf-page-wrapper {
    width: 100%;
}

.pf-main-wrapper {
    width: 100%;
}

/* Black Stripe Security Section */
.pf-black-stripe {
    background-color: #EEEEEE;
    color: black;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pf-lock {
    width: 20px;
    height: 20px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-black-stripe-text {
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin: 0;
    text-align: center;
}

/* Header Navigation */
#header {
    padding: 20px 0;
}

.pf-bg-primary {
    background-color: #016a4c;
    color: white;
    padding: 10px 0;
}

.pf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid System */
.pf-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: center;
}

.pf-col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.pf-col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.pf-pe-0 {
    padding-right: 0 !important;
}

/* Header Layout */
.pf-left {
    display: flex;
    align-items: center;
}

.pf-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.pf-img-fluid {
    max-width: 100%;
    height: auto;
}

.pf-right {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.pf-text-white {
    color: white;
}

.pf-text-white a {
    color: white;
}

.pf-header-right-last-text {
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
}

.pf-header-right-last-text span {
    display: block;
    margin-bottom: 2px;
}

.pf-header-right-last-text span:last-child {
    margin-bottom: 0;
}

/* Grid Responsive Breakpoints */
@media (min-width: 576px) {
    .pf-col-sm-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .pf-col-sm-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 992px) {
    .pf-col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .pf-col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

.pf-w-embed {
    display: inline-block;
}

.pf-w-embed svg {
    width: 100%;
    height: 100%;
}

/* Main Content Layout */
.pf-limos-checkout {
    width: 100%;
    background-color: white;
}

.pf-limos__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 200px);
    gap: 40px;
    margin-top: 40px;
}

.pf-limos__column--left {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.pf-limos__column--right {
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Receipt Form Container */
.pf-receipt-form-container {
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* Receipt Head */
.pf-receipt_head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.pf-receipt-check {
    width: 80px;
    height: 80px;
    color: #016a4c;
    flex-shrink: 0;
}

.pf-receipt-heading {
    flex: 1;
}

.pf-receipt-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.pf-receipt_order {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Receipt Sections */
.pf-receipt_section {
    margin-bottom: 40px;
}

.pf-receipt_section-head {
    margin-bottom: 24px;
}

.pf-display-xs {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.pf-receipt_section-head--desc {
    font-size: 16px;
    color: #666;
}

/* Order Receipt Grid */
.pf-order_receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pf-order_receipt-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pf-order_receipt-sec {
    width: 100%;
}

.pf-sec_title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.pf-sec_value {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.pf-order_receipt--group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Receipt Info */
.pf-receipt_info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.pf-receipt-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 16px;
    color: #333;
}

.pf-button {
    background-color: #016a4c;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.pf-button:hover {
    background-color: #014a36;
}

.pf-cc-auto {
    margin: 0 auto;
    display: block;
}

/* Receipt Footer */
.pf-receipt-footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* Right Column - Order Summary */
.pf-summary-desktop.pf-cc-limos {
    position: sticky;
    top: 40px;
    padding: 10px;
}

/* Summary Wrap */
.pf-summary-wrap {
    overflow: hidden;
}

.pf-summary-holder {
    width: 100%;
}

.pf-order-summary__title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
}

.pf-order-summary-limos {
    overflow: hidden;
}

.pf-order-summary__content {
    width: 100%;
}

/* Cart Items */
.pf-cart-items {
    margin-bottom: 24px;
}

.pf-item-template {
    display: none;
}

.pf-os-show {
    display: block;
}

.pf-cart-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pf-cart-item:last-child {
    border-bottom: none;
}

.pf-cart-item__wrapper {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pf-cart-item__image-container {
    position: relative;
    flex-shrink: 0;
}

.pf-cart-item__quantity-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #016a4c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.pf-cart-item__quantity {
    font-size: 12px;
    font-weight: 700;
}

.pf-cart-item__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.pf-cart-item__details {
    flex: 1;
}

.pf-cart-item__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.pf-cart-item__description {
    flex: 1;
}

.pf-cart-item__header {
    margin-bottom: 4px;
}

.pf-cart-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.pf-cart-item__pricing {
    text-align: right;
}

.pf-checkout__line-item__final-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Order Totals */
.pf-order-totals {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.pf-order-totals__section {
    margin-bottom: 16px;
}

.pf-order-totals__section.pf-cc-total {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: 16px;
}

.pf-order-totals__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pf-order-totals__line--total {
    margin-bottom: 0;
}

.pf-order-totals__label {
    font-size: 16px;
    color: #333;
}

.pf-order-totals__label--total {
    font-size: 18px;
    font-weight: 700;
}

.pf-order-totals__label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-order-totals__value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.pf-order-totals__value--total {
    font-size: 24px;
    font-weight: 700;
    color: #016a4c;
}

.pf-order-totals__value-group {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.pf-summary-total__coin {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Links */
.pf-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pf-link:hover {
    color: #016a4c;
}

.pf-w-inline-block {
    display: inline-block;
}

/* Footer */
.pf-footer {
    background-color: #016a4c;
    color: white;
    padding: 15px 0;
    margin-top: 10px;
    width: 100%;
}

.pf-footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pf-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pf-footer__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.pf-footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pf-footer__copyright {
    font-size: 14px;
    color: white;
    font-weight: 400;
}

.pf-footer__links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    text-decoration: underline;
}

.pf-footer__link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.pf-footer__link:hover {
    opacity: 0.8;
}

.pf-footer__divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Modal Styles */
.pf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.pf-modal-container {
    background-color: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pf-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pf-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #016a4c;
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pf-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
    font-family: Arial, sans-serif;
}

.pf-modal-close:hover {
    color: #016a4c;
}

.pf-modal-body {
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 0;
}

.pf-modal-content {
    padding: 30px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pf-modal-content p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Limos Layout Mobile */
    .pf-limos__layout {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 20px;
    }
    
    .pf-limos__column--right {
        order: -1;
    }
    
    /* Header Mobile Styles */
    #header {
        padding: 15px 0;
    }
    
    .pf-row {
        margin-left: -10px;
        margin-right: -10px;
        gap: 16px;
        text-align: center;
        align-items: center;
    }
    
    .pf-col-5,
    .pf-col-7 {
        flex: 1;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .pf-right {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    
    .pf-header-right-last-text {
        font-size: 11px;
    }
    
    .pf-logo img {
        height: 35px;
    }
    
    .pf-receipt-form-container {
        padding: 20px;
    }
    
    .pf-summary-desktop {
        position: static;
        display: block;
        padding: 20px;
    }
    
    /* Receipt Mobile Styles */
    .pf-receipt_head {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .pf-receipt-check {
        width: 60px;
        height: 60px;
    }
    
    .pf-receipt_order {
        font-size: 24px;
    }
    
    .pf-display-xs {
        font-size: 20px;
    }
    
    .pf-order_receipt-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pf-receipt-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .pf-receipt-footer {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .pf-container {
        padding: 0 12px;
    }
    
    .pf-receipt-form-container {
        padding: 16px;
    }
    
    .pf-summary-desktop {
        padding: 16px;
    }
    
    .pf-receipt_order {
        font-size: 20px;
    }
    
    .pf-display-xs {
        font-size: 18px;
    }
    
    .pf-order_receipt-col {
        gap: 20px;
    }
    
    .pf-cart-item__image {
        width: 60px;
        height: 60px;
    }
    
    .pf-cart-item__quantity-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .pf-order-summary__title {
        font-size: 20px;
    }
    
    /* Header Extra Small Mobile */
    #header {
        padding: 12px 0;
    }
    
    .pf-header-right-last-text {
        font-size: 10px;
    }
    
    .pf-logo img {
        height: 30px;
    }
    
    /* Black Stripe Mobile */
    .pf-black-stripe-text {
        font-size: 14px;
    }
    
    .pf-lock {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 320px) {
    .pf-container {
        padding: 0 10px;
    }
    
    .pf-receipt-form-container {
        padding: 12px;
    }
    
    .pf-summary-desktop {
        padding: 12px;
    }
    
    .pf-receipt_order {
        font-size: 18px;
    }
    
    .pf-receipt-check {
        width: 50px;
        height: 50px;
    }
    
    .pf-receipt-subtitle {
        font-size: 12px;
    }
    
    .pf-display-xs {
        font-size: 16px;
    }
    
    .pf-sec_title,
    .pf-sec_value {
        font-size: 14px;
    }
    
    .pf-order_receipt-col {
        gap: 16px;
    }
    
    .pf-cart-item__image {
        width: 50px;
        height: 50px;
    }
    
    .pf-cart-item__quantity-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .pf-cart-item__title {
        font-size: 14px;
    }
    
    .pf-order-summary__title {
        font-size: 18px;
    }
    
    .pf-order-totals__label,
    .pf-order-totals__value {
        font-size: 14px;
    }
    
    .pf-order-totals__label--total {
        font-size: 16px;
    }
    
    .pf-order-totals__value--total {
        font-size: 20px;
    }
    
    .pf-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    #header {
        padding: 10px 0;
    }
    
    .pf-logo img {
        height: 26px;
    }
    
    .pf-header-right-last-text {
        font-size: 9px;
    }
    
    .pf-black-stripe-text {
        font-size: 12px;
    }
    
    .pf-lock {
        width: 16px;
        height: 16px;
    }
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .pf-footer {
        padding: 20px 0;
    }
    
    .pf-footer__content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .pf-footer__brand {
        flex-direction: column;
        gap: 8px;
    }
    
    .pf-footer__info {
        align-items: center;
        gap: 12px;
    }
    
    .pf-footer__links {
        justify-content: center;
        gap: 8px;
    }
    
    .pf-footer__logo-img {
        height: 35px;
    }
    
    .pf-footer__copyright {
        font-size: 12px;
        text-align: center;
    }
    
    .pf-footer__link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .pf-footer {
        padding: 16px 0;
    }
    
    .pf-footer__links {
        gap: 8px;
    }
    
    .pf-footer__divider {
        display: none;
    }
    
    .pf-footer__logo-img {
        height: 30px;
    }
}

/* Modal Responsive */
@media (max-width: 768px) {
    .pf-modal-overlay {
        padding: 10px;
    }
    
    .pf-modal-container {
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .pf-modal-header {
        padding: 20px 20px 15px;
    }
    
    .pf-modal-title {
        font-size: 24px;
    }
    
    .pf-modal-close {
        font-size: 28px;
    }
    
    .pf-modal-body {
        max-height: calc(95vh - 100px);
    }
    
    .pf-modal-content {
        padding: 20px;
    }
    
    .pf-modal-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pf-modal-overlay {
        padding: 5px;
    }
    
    .pf-modal-header {
        padding: 16px 16px 12px;
    }
    
    .pf-modal-title {
        font-size: 20px;
    }
    
    .pf-modal-close {
        font-size: 24px;
    }
    
    .pf-modal-content {
        padding: 16px;
    }
    
    .pf-modal-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.pf-hide {
    display: none !important;
}

.pf-show {
    display: block !important;
}
